You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')),
('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')),
27
-
('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')),
('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')),
31
-
('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')),
21
+
(
22
+
"id",
23
+
models.AutoField(
24
+
auto_created=True,
25
+
primary_key=True,
26
+
serialize=False,
27
+
verbose_name="ID",
28
+
),
29
+
),
30
+
(
31
+
"last_login",
32
+
models.DateTimeField(
33
+
blank=True, null=True, verbose_name="last login"
34
+
),
35
+
),
36
+
(
37
+
"is_superuser",
38
+
models.BooleanField(
39
+
default=False,
40
+
help_text="Designates that this user has all permissions without explicitly assigning them.",
0 commit comments