Added subject field to transaction and course field to customuser

This commit is contained in:
Keannu Christian Bernasol 2023-12-29 18:38:59 +08:00
parent 0b1c065a80
commit 2ddc9da179
12 changed files with 55 additions and 52 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 4.2.7 on 2023-12-08 14:41
# Generated by Django 4.2.7 on 2023-12-29 10:21
import accounts.models
import django.contrib.auth.models
@ -32,6 +32,7 @@ class Migration(migrations.Migration):
('is_active', models.BooleanField(default=False)),
('is_technician', models.BooleanField(default=False)),
('is_teacher', models.BooleanField(default=False)),
('course', models.CharField(choices=[('BS Chemistry', 'BS Chemistry'), ('BS Food Technology', 'BS Food Technology'), ('BS Applied Physics', 'BS Applied Physics'), ('BS Environmental Science', 'BS Environmental Science')], default=None, max_length=60, null=True)),
('avatar', models.ImageField(null=True, upload_to=accounts.models.CustomUser._get_upload_to)),
('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.group', verbose_name='groups')),
('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.permission', verbose_name='user permissions')),