forked from 0x2620/pandora
places
This commit is contained in:
parent
f62f254f98
commit
0a139cd1d5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Place(models.Model):
|
|||
'''
|
||||
created = models.DateTimeField(auto_now_add=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_sort = models.CharField(max_length=200)
|
||||
|
|
Loading…
Reference in a new issue