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
ca5c05dd
Kaydet (Commit)
ca5c05dd
authored
Mar 12, 2016
tarafından
Duane Hilton
Kaydeden (comit)
Tim Graham
Mar 12, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #26239 -- Added a note about how auto_now works with QuerySet.update().
üst
2495023a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
fields.txt
docs/ref/models/fields.txt
+6
-0
No files found.
docs/ref/models/fields.txt
Dosyayı görüntüle @
ca5c05dd
...
...
@@ -501,6 +501,12 @@ optional arguments:
for "last-modified" timestamps. Note that the current date is *always*
used; it's not just a default value that you can override.
The field is only automatically updated when calling :meth:`Model.save()
<django.db.models.Model.save>`. The field isn't updated when making updates
to other fields in other ways such as :meth:`QuerySet.update()
<django.db.models.query.QuerySet.update>`, though you can specify a custom
value for the field in an update like that.
.. attribute:: DateField.auto_now_add
Automatically set the field to now when the object is first created. Useful
...
...
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