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
1c7a83ee
Kaydet (Commit)
1c7a83ee
authored
Kas 22, 2013
tarafından
Loic Bistuer
Kaydeden (comit)
Tim Graham
Kas 26, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #21489 -- Make formsets directly importable from django.forms.
üst
7a0a3a64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
__init__.py
django/forms/__init__.py
+1
-0
formsets.py
django/forms/formsets.py
+1
-1
models.py
django/forms/models.py
+2
-1
No files found.
django/forms/__init__.py
Dosyayı görüntüle @
1c7a83ee
...
@@ -5,5 +5,6 @@ Django validation and HTML form handling.
...
@@ -5,5 +5,6 @@ Django validation and HTML form handling.
from
django.core.exceptions
import
ValidationError
# NOQA
from
django.core.exceptions
import
ValidationError
# NOQA
from
django.forms.fields
import
*
# NOQA
from
django.forms.fields
import
*
# NOQA
from
django.forms.forms
import
*
# NOQA
from
django.forms.forms
import
*
# NOQA
from
django.forms.formsets
import
*
# NOQA
from
django.forms.models
import
*
# NOQA
from
django.forms.models
import
*
# NOQA
from
django.forms.widgets
import
*
# NOQA
from
django.forms.widgets
import
*
# NOQA
django/forms/formsets.py
Dosyayı görüntüle @
1c7a83ee
...
@@ -13,7 +13,7 @@ from django.utils.six.moves import xrange
...
@@ -13,7 +13,7 @@ from django.utils.six.moves import xrange
from
django.utils.translation
import
ungettext
,
ugettext
as
_
from
django.utils.translation
import
ungettext
,
ugettext
as
_
__all__
=
(
'BaseFormSet'
,
'all_valid'
)
__all__
=
(
'BaseFormSet'
,
'
formset_factory'
,
'
all_valid'
)
# special field names
# special field names
TOTAL_FORM_COUNT
=
'TOTAL_FORMS'
TOTAL_FORM_COUNT
=
'TOTAL_FORMS'
...
...
django/forms/models.py
Dosyayı görüntüle @
1c7a83ee
...
@@ -24,7 +24,8 @@ from django.utils.translation import ugettext_lazy as _, ugettext, string_concat
...
@@ -24,7 +24,8 @@ from django.utils.translation import ugettext_lazy as _, ugettext, string_concat
__all__
=
(
__all__
=
(
'ModelForm'
,
'BaseModelForm'
,
'model_to_dict'
,
'fields_for_model'
,
'ModelForm'
,
'BaseModelForm'
,
'model_to_dict'
,
'fields_for_model'
,
'save_instance'
,
'ModelChoiceField'
,
'ModelMultipleChoiceField'
,
'save_instance'
,
'ModelChoiceField'
,
'ModelMultipleChoiceField'
,
'ALL_FIELDS'
,
'ALL_FIELDS'
,
'BaseModelFormSet'
,
'modelformset_factory'
,
'BaseInlineFormSet'
,
'inlineformset_factory'
,
)
)
ALL_FIELDS
=
'__all__'
ALL_FIELDS
=
'__all__'
...
...
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