Fixes mistake in parent model definition
This commit is contained in:
parent
4309a70c5e
commit
9c645c6ab6
4 changed files with 97 additions and 1 deletions
|
@ -47,6 +47,8 @@ class User(AbstractUser):
|
|||
through_fields=('user', 'status'),
|
||||
related_name='favorite_statuses'
|
||||
)
|
||||
created_date = models.DateTimeField(auto_now_add=True)
|
||||
updated_date = models.DateTimeField(auto_now=True)
|
||||
|
||||
@property
|
||||
def absolute_id(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue