Commit a7a5f5e4 by Bridger Maxwell

Added related_name to Article.owner to prevent conflict with existing Simplewiki install.

parent ea26ab85
...@@ -29,7 +29,7 @@ class Article(models.Model): ...@@ -29,7 +29,7 @@ class Article(models.Model):
help_text=_(u'Article properties last modified')) help_text=_(u'Article properties last modified'))
owner = models.ForeignKey(User, verbose_name=_('owner'), owner = models.ForeignKey(User, verbose_name=_('owner'),
blank=True, null=True, blank=True, null=True, related_name='owned_articles',
help_text=_(u'The owner of the article, usually the creator. The owner always has both read and write access.'),) help_text=_(u'The owner of the article, usually the creator. The owner always has both read and write access.'),)
group = models.ForeignKey(Group, verbose_name=_('group'), group = models.ForeignKey(Group, verbose_name=_('group'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment