style: change profile form help text and order

This commit is contained in:
Rushil Umaretiya 2023-04-11 10:08:49 -04:00
parent 641f29a10d
commit 2da9a673b6
No known key found for this signature in database
GPG Key ID: 4E8FAF9C926AF959
3 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.18 on 2023-04-11 14:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("authentication", "0014_user_is_banned"),
]
operations = [
migrations.AlterField(
model_name="user",
name="GPA",
field=models.DecimalField(
blank=True,
decimal_places=3,
help_text="Pre-senior year, weighted GPA",
max_digits=4,
null=True,
),
),
]

View File

@ -12,7 +12,7 @@ class User(AbstractUser):
null=True,
blank=True,
name="GPA",
help_text="Weighted GPA",
help_text="Pre-senior year, weighted GPA",
max_digits=4,
decimal_places=3,
)

View File

@ -56,8 +56,8 @@ class ProfilePublishForm(forms.ModelForm):
"use_nickname",
"publish_data",
"GPA",
"biography",
"attending_decision",
"biography",
]
help_texts = {