Add user tripcodes

Users can separate their name and a password with ## to create the
illusion of consistent posting.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-20 00:28:02 -07:00
parent 8f4b6d7aea
commit c53111ea60
6 changed files with 54 additions and 7 deletions

View File

@@ -90,6 +90,8 @@ class Post(models.Model):
)
# User's supplied name for this post
name = models.CharField(max_length=255, null=True, blank=True)
# User's tripcode, already calculated
tripcode = models.CharField(max_length=10, blank=True)
# User's supplied subject for this post
subject = models.CharField(max_length=255, null=True, blank=True)
# Text of this post