diff photologue/models.py @ 186:f3eca817dd33

Get rid of null/ManyToMany warning in Photologue model.
author Brian Neal <bgneal@gmail.com>
date Mon, 25 Jan 2016 19:34:58 -0600
parents 762e46d0bb4a
children
line wrap: on
line diff
--- a/photologue/models.py	Sun Jan 24 21:41:28 2016 -0600
+++ b/photologue/models.py	Mon Jan 25 19:34:58 2016 -0600
@@ -125,7 +125,7 @@
     is_public = models.BooleanField(_('is public'), default=True,
                                     help_text=_('Public galleries will be displayed in the default views.'))
     photos = models.ManyToManyField('Photo', related_name='galleries', verbose_name=_('photos'),
-                                    null=True, blank=True)
+                                    blank=True)
     tags = TagField(help_text=tagfield_help_text, verbose_name=_('tags'))
 
     class Meta: