On 25/08/15 01:25, Sait Maraşlıoğlu wrote: > default = timezone.now()
Beware, timezone.now() will be evaluated once when the module is loaded, not on save if you might think. Use default = timezone.now without calling it to get the current value on save. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55E4A768.5040606%40ist-total.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature