Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
3fd0ee5b
Kaydet (Commit)
3fd0ee5b
authored
Haz 29, 2013
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report.
üst
74151765
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
generic.py
django/contrib/contenttypes/generic.py
+2
-2
contenttypes.txt
docs/ref/contrib/contenttypes.txt
+3
-3
No files found.
django/contrib/contenttypes/generic.py
Dosyayı görüntüle @
3fd0ee5b
...
...
@@ -434,8 +434,8 @@ def generic_inlineformset_factory(model, form=ModelForm,
"""
Returns a ``GenericInlineFormSet`` for the given kwargs.
You must provide ``ct_field`` and ``
object_id`` if they different from the
defaults ``content_type`` and ``object_id`` respectively.
You must provide ``ct_field`` and ``
fk_field`` if they are different from
the
defaults ``content_type`` and ``object_id`` respectively.
"""
opts
=
model
.
_meta
# if there is no field called `ct_field` let the exception propagate
...
...
docs/ref/contrib/contenttypes.txt
Dosyayı görüntüle @
3fd0ee5b
...
...
@@ -506,9 +506,9 @@ information.
Returns a ``GenericInlineFormSet`` using
:func:`~django.forms.models.modelformset_factory`.
You must provide ``ct_field`` and ``
object_id`` if they different from the
defaults, ``content_type`` and ``object_id`` respectively. Other parameters
are similar to those documented in
You must provide ``ct_field`` and ``
fk_field`` if they are different from
the defaults, ``content_type`` and ``object_id`` respectively. Other
parameters
are similar to those documented in
:func:`~django.forms.models.modelformset_factory` and
:func:`~django.forms.models.inlineformset_factory`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment