]> git.parisson.com Git - telemeta.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 14:18:35 +0000 (15:18 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 14:18:35 +0000 (15:18 +0100)
telemeta/models/media.py

index 811d60beb1d4e87f56f977b874661188f71a63cb..3f4ea45a7c68f4f747d7d7f57f17e40e7ea76909 100644 (file)
@@ -209,7 +209,7 @@ class MediaCollection(MediaResource):
     publisher_serial      = CharField(_('publisher serial number'))
     booklet_author        = CharField(_('author of published notice'))
     external_references   = TextField(_('bibliographic references'))
-    doctype_code          = IntegerField(_('document type'), null=True, blank=True)
+    doctype_code          = IntegerField(_('document type'), blank=True)
     public_access         = CharField(_('public access'), choices=PUBLIC_ACCESS_CHOICES,
                                       max_length=16, default="metadata")
     legal_rights          = WeakForeignKey('LegalRight', related_name="collections",