This commit is contained in:
j 2011-02-24 19:44:35 +01:00
parent d1480f550e
commit c9459265ca

View file

@ -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)