]> git.parisson.com Git - mezzo.git/commitdiff
merging
authorEmilie <zawadzki@ircam.fr>
Fri, 7 Oct 2016 13:04:35 +0000 (15:04 +0200)
committerEmilie <zawadzki@ircam.fr>
Fri, 7 Oct 2016 13:04:35 +0000 (15:04 +0200)
1  2 
app/organization/media/models.py

index 54f32841058e2ddd696b98e2cf18974082472f52,d8a56010e3405ad7d87a546890a818a03818cb46..7a9906dbfdd562c42a2eb3c6789400e337d9f2d7
@@@ -22,8 -23,10 +23,11 @@@ class Media(Displayable)
      open_source_url = models.URLField(_('open source URL'), max_length=1024, blank=True)
      closed_source_url = models.URLField(_('closed source URL'), max_length=1024, blank=True)
      poster_url = models.URLField(_('poster'), max_length=1024, blank=True)
 +    created_at = models.DateTimeField(auto_now=True)
  
+     objects = SearchableManager()
+     search_fields = ("title",)
      class Meta:
          abstract = True