Evolution #3402

Automatic "Updated" and "Created" fields

Added by Paul Carensac about 8 years ago. Updated about 8 years ago.

Status:FerméStart date:03/29/2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-Spent time:-
Target version:Version 0.01 - Multi-platform skeleton easy install

Description

All DateTime fields should be automatically filled by django (created and updated).

History

#1 Updated by Paul Carensac about 8 years ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100

Changes in models.py :

Added auto_now=True and auto_now_add=True to updated and (created || datetime) fields respectively.

#2 Updated by Etienne Pallier about 8 years ago

  • Target version set to Version 0.01 - Multi-platform skeleton easy install

Also available in: Atom PDF