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
611ef422
Kaydet (Commit)
611ef422
authored
Ock 14, 2017
tarafından
Claude Paroz
Kaydeden (comit)
Tim Graham
Ock 14, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #27387 -- Doc'd required HTML attribute in Field.required docs.
üst
6b6be692
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
fields.txt
docs/ref/forms/fields.txt
+9
-0
No files found.
docs/ref/forms/fields.txt
Dosyayı görüntüle @
611ef422
...
@@ -92,6 +92,15 @@ then ``clean()`` will return a *normalized* empty value rather than raising
...
@@ -92,6 +92,15 @@ then ``clean()`` will return a *normalized* empty value rather than raising
For other ``Field`` classes, it might be ``None``. (This varies from field to
For other ``Field`` classes, it might be ``None``. (This varies from field to
field.)
field.)
Widgets of required form fields have the ``required`` HTML attribute. Set the
:attr:`Form.use_required_attribute` attribute to ``False`` to disable it. The
``required`` attribute isn't included on forms of formsets because the browser
validation may not be correct when adding and deleting formsets.
.. versionadded:: 1.10
Support for the ``required`` HTML attribute was added.
``label``
``label``
---------
---------
...
...
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