You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classBaseModel(models.Model):
""" I hear RoR has this by default, who doesn't need these two fields! """created_at=models.DateTimeField(auto_now_add=True)
modified_at=models.DateTimeField(auto_now=True)
classMeta:
abstract=True
The text was updated successfully, but these errors were encountered:
jawebada
changed the title
Add base model to include creation and modification dates.
5 / X Add base model to include creation and modification dates.
Dec 18, 2020
uliSchuster
changed the title
5 / X Add base model to include creation and modification dates.
2/5 = 0.4 Add base model to include creation and modification dates.
Dec 19, 2020
The text was updated successfully, but these errors were encountered: