]> git.parisson.com Git - telemeta.git/commitdiff
Merge branch 'dev' into crem2
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Dec 2013 10:13:35 +0000 (11:13 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Dec 2013 10:13:35 +0000 (11:13 +0100)
Conflicts:
telemeta/models/media.py

1  2 
example/sandbox/settings.py
telemeta/models/media.py
telemeta/templates/telemeta/collection_detail.html
telemeta/urls.py
telemeta/views/instrument.py

index fe913c795593bc646821032e558aa41809910c17,ddaf6e0aa3ef69394f145ab0127f6ec8d500f276..f50a60fc602a6728648a2a7ee57bf0672c7ad877
@@@ -161,5 -162,3 +162,5 @@@ LOGIN_REDIRECT_URL = reverse_lazy('tele
  
  EMAIL_HOST = 'localhost'
  DEFAULT_FROM_EMAIL = 'webmaster@parisson.com'
- FILE_UPLOAD_TEMP_DIR = '/tmp'
 +
++FILE_UPLOAD_TEMP_DIR = '/tmp'
index fa19564517e85fee15d0b5e9eab09c09701990b8,811d60beb1d4e87f56f977b874661188f71a63cb..9cc9aa621e15c56aefb2f1c5142249632025b82b
@@@ -216,10 -209,9 +215,10 @@@ 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'))
-     public_access         = CharField(_('access status'), choices=PUBLIC_ACCESS_CHOICES,
+     doctype_code          = IntegerField(_('document type'), null=True, blank=True)
+     public_access         = CharField(_('public access'), choices=PUBLIC_ACCESS_CHOICES,
                                        max_length=16, default="metadata")
 +    auto_period_access    = BooleanField(_('automatic access after a rolling period'), default=True)
      legal_rights          = WeakForeignKey('LegalRight', related_name="collections",
                                             verbose_name=_('legal rights'))
  
Simple merge
Simple merge