# HG changeset patch # User Brian Neal # Date 1453772098 21600 # Node ID f3eca817dd3365eb6e7e021d92e7393d24652944 # Parent cfa730bbca6e408172dadbcb4634259b01855582 Get rid of null/ManyToMany warning in Photologue model. diff -r cfa730bbca6e -r f3eca817dd33 photologue/models.py --- 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: