allow longer titles
This commit is contained in:
parent
7262e392b6
commit
c933db50ae
@ -25,7 +25,7 @@ ARTICLE_STATUSES = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
class Article(models.Model):
|
class Article(models.Model):
|
||||||
title = models.CharField(max_length=50)
|
title = models.CharField(max_length=200)
|
||||||
creator = models.ForeignKey(User, related_name='wiki_articles')
|
creator = models.ForeignKey(User, related_name='wiki_articles')
|
||||||
status = models.IntegerField(choices=ARTICLE_STATUSES, default=PUBLIC)
|
status = models.IntegerField(choices=ARTICLE_STATUSES, default=PUBLIC)
|
||||||
redirect_to = models.ForeignKey('self', null=True)
|
redirect_to = models.ForeignKey('self', null=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user