feat(authentication): add character limit to bio

You know who you are...
This commit is contained in:
Ethan Nguyen 2021-04-21 22:23:17 -04:00
parent b7476b3a51
commit a347729473
No known key found for this signature in database
GPG Key ID: B4CA5339AF911920
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2 on 2021-04-22 02:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("authentication", "0005_user_gpa"),
]
operations = [
migrations.AlterField(
model_name="user",
name="biography",
field=models.TextField(blank=True, max_length=1000),
),
]

View File

@ -19,7 +19,7 @@ class User(AbstractUser):
verbose_name="Publish my data",
help_text="Unless this is set, your data will not appear publicly.",
)
biography = models.TextField(blank=True)
biography = models.TextField(blank=True, max_length=1000)
attending_decision = models.ForeignKey(
Decision,