Adds published date separate from created date
This commit is contained in:
parent
984c04a374
commit
e45b04f22e
7 changed files with 29 additions and 7 deletions
|
@ -2,7 +2,7 @@ from django.db import models
|
|||
|
||||
from fedireads.settings import DOMAIN
|
||||
|
||||
|
||||
# TODO maybe this should be in /models?
|
||||
class FedireadsModel(models.Model):
|
||||
created_date = models.DateTimeField(auto_now_add=True)
|
||||
updated_date = models.DateTimeField(auto_now=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue