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
70e61310
Kaydet (Commit)
70e61310
authored
Kas 25, 2013
tarafından
Ludwik Trammer
Kaydeden (comit)
Tim Graham
Kas 25, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #21507 -- Corrected default widget information for FileField
üst
de220fb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
fields.txt
docs/ref/models/fields.txt
+5
-1
No files found.
docs/ref/models/fields.txt
Dosyayı görüntüle @
70e61310
...
@@ -596,7 +596,8 @@ Has two optional arguments:
...
@@ -596,7 +596,8 @@ Has two optional arguments:
A storage object, which handles the storage and retrieval of your
A storage object, which handles the storage and retrieval of your
files. See :doc:`/topics/files` for details on how to provide this object.
files. See :doc:`/topics/files` for details on how to provide this object.
The default form widget for this field is a :class:`~django.forms.FileInput`.
The default form widget for this field is a
:class:`~django.forms.ClearableFileInput`.
Using a :class:`FileField` or an :class:`ImageField` (see below) in a model
Using a :class:`FileField` or an :class:`ImageField` (see below) in a model
takes a few steps:
takes a few steps:
...
@@ -839,6 +840,9 @@ By default, :class:`ImageField` instances are created as ``varchar(100)``
...
@@ -839,6 +840,9 @@ By default, :class:`ImageField` instances are created as ``varchar(100)``
columns in your database. As with other fields, you can change the maximum
columns in your database. As with other fields, you can change the maximum
length using the :attr:`~CharField.max_length` argument.
length using the :attr:`~CharField.max_length` argument.
The default form widget for this field is a
:class:`~django.forms.ClearableFileInput`.
``IntegerField``
``IntegerField``
----------------
----------------
...
...
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