Permalink
Browse files

relations is allowd to be blank now

  • Loading branch information...
1 parent 4a2da9e commit d662e3c176604d9e93f1aaf9dcf2a27368570534 @plaetzchen plaetzchen committed Jul 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 publicdocs/documents/models.py
  2. BIN publicdocs/publicdocs.sqlite
@@ -11,7 +11,7 @@ class Document(models.Model):
author = models.ForeignKey('documents.Author',null=True)
pages = models.ManyToManyField('documents.Page',null=True)
version = models.IntegerField(default=1)
- relations = models.ManyToManyField('documents.Relation',null=True)
+ relations = models.ManyToManyField('documents.Relation',null=True,blank=True)
categories = models.ManyToManyField('documents.Category',null=True)
created = models.DateTimeField(auto_now_add=True,null=True)
modified = models.DateTimeField(auto_now=True, null=True)
Binary file not shown.

0 comments on commit d662e3c

Please sign in to comment.