Har forhåpentligvis fikset problemer med forløkke.

This commit is contained in:
2011-03-06 17:51:16 +00:00
parent b85ad52ed4
commit acb9bd6501
3 changed files with 6 additions and 7 deletions

View File

@@ -135,6 +135,7 @@ class Book(models.Model):
# print '%13s %5s %30s %'
# class Meta:
# order_with_respect_to = 'published_year'
# unique_together=(("isbn","id"),)
class Reference(models.Model):
@@ -198,6 +199,9 @@ class Person(models.Model):
def __unicode__(self):
return self.first_name + u' ' + self.last_name
# class Meta:
# order_with_respect_to = 'last_name'
class Relation(models.Model):
name = models.CharField(max_length=31, primary_key=True)