Limit post max length to 2k instead of 10k
10k is a little too long for this style of social media. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -88,7 +88,7 @@ class Post(models.Model):
|
|||||||
# User's supplied subject for this post
|
# User's supplied subject for this post
|
||||||
subject = models.CharField(max_length=255, null=True, blank=True)
|
subject = models.CharField(max_length=255, null=True, blank=True)
|
||||||
# Text of this post
|
# Text of this post
|
||||||
text = models.TextField(max_length=10000, null=False, blank=True)
|
text = models.TextField(max_length=2000, null=False, blank=True)
|
||||||
# The IP address of the user that made this post
|
# The IP address of the user that made this post
|
||||||
ip = models.GenericIPAddressField()
|
ip = models.GenericIPAddressField()
|
||||||
# Capcode
|
# Capcode
|
||||||
|
|||||||
Reference in New Issue
Block a user