mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 17:50:16 -04:00
style: change profile form help text and order (#176)
This commit is contained in:
parent
641f29a10d
commit
0aa3525f25
|
@ -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,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
|
@ -12,7 +12,7 @@ class User(AbstractUser):
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
name="GPA",
|
name="GPA",
|
||||||
help_text="Weighted GPA",
|
help_text="Pre-senior year, weighted GPA",
|
||||||
max_digits=4,
|
max_digits=4,
|
||||||
decimal_places=3,
|
decimal_places=3,
|
||||||
)
|
)
|
||||||
|
|
|
@ -56,8 +56,8 @@ class ProfilePublishForm(forms.ModelForm):
|
||||||
"use_nickname",
|
"use_nickname",
|
||||||
"publish_data",
|
"publish_data",
|
||||||
"GPA",
|
"GPA",
|
||||||
"biography",
|
|
||||||
"attending_decision",
|
"attending_decision",
|
||||||
|
"biography",
|
||||||
]
|
]
|
||||||
|
|
||||||
help_texts = {
|
help_texts = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user