1👍
If the only thing you want to do is set last_edit_date
to datetime.datetime.now()
on save, then use auto_now
option of DateField
class and skip this field in the form.
Source:stackexchange.com
1👍
If the only thing you want to do is set last_edit_date
to datetime.datetime.now()
on save, then use auto_now
option of DateField
class and skip this field in the form.