Skip to content

Commit

Permalink
activity: Update title max length
Browse files Browse the repository at this point in the history
activity: Update title max length
  • Loading branch information
yashk2000 committed Jun 19, 2020
1 parent 118928b commit 7134512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_poster_path(self, filename):
filename = "%s.%s" % (uuid.uuid4(), ext)
return 'static/uploads/news/cover/' + filename

title = models.CharField(max_length=100)
title = models.CharField(max_length=150)
slug = models.SlugField()
author = models.ForeignKey(User, on_delete=models.PROTECT, related_name='news_author', blank=True, null=True)
pinned = models.BooleanField(default=False)
Expand Down

0 comments on commit 7134512

Please sign in to comment.