Permalink
Browse files

hoping to clear up some serialisation issues

  • Loading branch information...
Daniele Procida
Daniele Procida committed Oct 20, 2011
1 parent ae77698 commit ac0b3b1f1876b1b020381f130192bb00b039e41f
@@ -79,8 +79,8 @@ class Building(models.Model):
class Meta:
ordering = ('site', 'street', 'number', 'name',)
- def natural_key(self):
- return (self.slug)
+ # def natural_key(self):
+ # return (self.slug)
def __unicode__(self):
if self.name:
@@ -264,8 +264,8 @@ class Meta:
verbose_name_plural = "Entities"
ordering = ['tree_id', 'lft']
- def natural_key(self):
- return (self.slug)
+ # def natural_key(self):
+ # return (self.slug)
def __unicode__(self):
return self.name
@@ -521,8 +521,8 @@ class Person(PersonLite, CommonFields):
staff_id = models.CharField(null=True, blank=True, max_length=20)
data_feed_locked = models.BooleanField(default=False)
- def natural_key(self):
- return (self.slug)
+ # def natural_key(self):
+ # return (self.slug)
class Meta:
ordering = ['surname', 'given_name', 'user',]
Oops, something went wrong.

0 comments on commit ac0b3b1

Please sign in to comment.