mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 09:40:16 -04:00
feat(authentication): add character limit to bio
You know who you are...
This commit is contained in:
parent
b7476b3a51
commit
a347729473
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -19,7 +19,7 @@ class User(AbstractUser):
|
||||||
verbose_name="Publish my data",
|
verbose_name="Publish my data",
|
||||||
help_text="Unless this is set, your data will not appear publicly.",
|
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(
|
attending_decision = models.ForeignKey(
|
||||||
Decision,
|
Decision,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user