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