Changes between Initial Version and Version 1 of Ticket #21905, comment 6
- Timestamp:
- Jan 30, 2014, 8:01:49 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21905, comment 6
initial v1 1 1 Why don't you use {{{auto_now=True}}} ? Every time you call save(), the {{{last_sync}}} field gets updated with the latest date and time. 2 Unless this field is updated by the user, then use {{{datetime.now}}}.