Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

Tillater nå blankt referansefelt

This commit is contained in:
Øyvind Almelid 2011-03-04 14:22:06 +00:00
parent 5ed2572cf6
commit 256561147a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Book(models.Model):
description = models.CharField(max_length=1023, null=True, blank=True)
picture = models.ImageField(upload_to='%Y/%m/%d/pictures', null=True, blank=True)
thumbnail = models.ImageField(upload_to='%Y/%m/%d/thumbnails', null=True, blank=True)
references = models.ManyToManyField(Reference, related_name='books')
references = models.ManyToManyField(Reference, related_name='books',null=True, blank=True)
def full_print(self):
for field in book_fields.items():