places
This commit is contained in:
parent
d1480f550e
commit
c9459265ca
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Place(models.Model):
|
||||||
'''
|
'''
|
||||||
created = models.DateTimeField(auto_now_add=True)
|
created = models.DateTimeField(auto_now_add=True)
|
||||||
modified = models.DateTimeField(auto_now=True)
|
modified = models.DateTimeField(auto_now=True)
|
||||||
user = models.ForeignKey(User, null=True, related_name='items')
|
user = models.ForeignKey(User, null=True, related_name='places')
|
||||||
|
|
||||||
name = fields.TupleField(default=[])
|
name = fields.TupleField(default=[])
|
||||||
name_sort = models.CharField(max_length=200)
|
name_sort = models.CharField(max_length=200)
|
||||||
|
|
Loading…
Reference in a new issue