1
- # Generated by Django 5.0.2 on 2024-03-02 13:17
1
+ # Generated by Django 5.0.2 on 2024-03-02 21:03
2
2
3
3
import django .contrib .auth .models
4
4
import django .contrib .auth .validators
@@ -14,7 +14,6 @@ class Migration(migrations.Migration):
14
14
dependencies = [
15
15
('auth' , '0012_alter_user_first_name_max_length' ),
16
16
('courses' , '0001_initial' ),
17
- ('projects' , '0001_initial' ),
18
17
]
19
18
20
19
operations = [
@@ -24,30 +23,32 @@ class Migration(migrations.Migration):
24
23
('id' , models .BigAutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
25
24
('password' , models .CharField (max_length = 128 , verbose_name = 'password' )),
26
25
('last_login' , models .DateTimeField (blank = True , null = True , verbose_name = 'last login' )),
27
- ('is_superuser' , models .BooleanField (default = False , help_text = 'Designates that this user has all '
28
- ' permissions without explicitly '
29
- ' assigning them.' ,
26
+ ('is_superuser' , models .BooleanField (default = False ,
27
+ help_text = 'Designates that this user has all permissions '
28
+ 'without explicitly assigning them.' ,
30
29
verbose_name = 'superuser status' )),
31
30
('username' , models .CharField (error_messages = {'unique' : 'A user with that username already exists.' },
32
- help_text = 'Required. 150 characters or fewer. '
33
- 'Letters, digits and @/./+/-/_ only.' ,
31
+ help_text = 'Required. 150 characters or fewer. Letters, digits '
32
+ 'and @/./+/-/_ only.' ,
34
33
max_length = 150 , unique = True ,
35
34
validators = [django .contrib .auth .validators .UnicodeUsernameValidator ()],
36
35
verbose_name = 'username' )),
37
36
('first_name' , models .CharField (blank = True , max_length = 150 , verbose_name = 'first name' )),
38
37
('last_name' , models .CharField (blank = True , max_length = 150 , verbose_name = 'last name' )),
39
38
('email' , models .EmailField (blank = True , max_length = 254 , verbose_name = 'email address' )),
40
- ('is_staff' , models .BooleanField (default = False , help_text = 'Designates whether the user can '
41
- ' log into this admin site.' ,
39
+ ('is_staff' , models .BooleanField (default = False ,
40
+ help_text = 'Designates whether the user can log into this admin site.' ,
42
41
verbose_name = 'staff status' )),
43
- ('is_active' , models .BooleanField (default = True , help_text = 'Designates whether this user should be '
44
- 'treated as active. Unselect this instead of '
45
- 'deleting accounts.' , verbose_name = 'active' )),
42
+ ('is_active' , models .BooleanField (default = True ,
43
+ help_text = 'Designates whether this user should be treated as active. '
44
+ 'Unselect this instead of deleting accounts.' ,
45
+ verbose_name = 'active' )),
46
46
('date_joined' , models .DateTimeField (default = django .utils .timezone .now , verbose_name = 'date joined' )),
47
- ('groups' , models .ManyToManyField (blank = True , help_text = 'The groups this user belongs to. A user will '
48
- 'get all permissions granted to each of their '
49
- 'groups.' , related_name = 'user_set' ,
50
- related_query_name = 'user' , to = 'auth.group' , verbose_name = 'groups' )),
47
+ ('groups' , models .ManyToManyField (blank = True ,
48
+ help_text = 'The groups this user belongs to. A user will get all '
49
+ 'permissions granted to each of their groups.' ,
50
+ related_name = 'user_set' , related_query_name = 'user' , to = 'auth.group' ,
51
+ verbose_name = 'groups' )),
51
52
('user_permissions' , models .ManyToManyField (blank = True , help_text = 'Specific permissions for this user.' ,
52
53
related_name = 'user_set' , related_query_name = 'user' ,
53
54
to = 'auth.permission' , verbose_name = 'user permissions' )),
@@ -69,7 +70,6 @@ class Migration(migrations.Migration):
69
70
to = settings .AUTH_USER_MODEL )),
70
71
('number' , models .IntegerField ()),
71
72
('course' , models .ManyToManyField (to = 'courses.course' )),
72
- ('project' , models .ManyToManyField (to = 'projects.project' )),
73
73
],
74
74
),
75
75
migrations .CreateModel (
0 commit comments