@@ -20,7 +20,7 @@ class Migration(migrations.Migration):
2020 migrations .CreateModel (
2121 name = 'Permission' ,
2222 fields = [
23- ('id' , django_mongodb .fields .auto . ObjectIdAutoField (auto_created = True , db_column = '_id' , primary_key = True , serialize = False , verbose_name = 'ID' )),
23+ ('id' , django_mongodb .fields .ObjectIdAutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
2424 ('name' , models .CharField (max_length = 255 , verbose_name = 'name' )),
2525 ('codename' , models .CharField (max_length = 100 , verbose_name = 'codename' )),
2626 ('content_type' , models .ForeignKey (on_delete = django .db .models .deletion .CASCADE , to = 'contenttypes.contenttype' , verbose_name = 'content type' )),
@@ -38,7 +38,7 @@ class Migration(migrations.Migration):
3838 migrations .CreateModel (
3939 name = 'Group' ,
4040 fields = [
41- ('id' , django_mongodb .fields .auto . ObjectIdAutoField (auto_created = True , db_column = '_id' , primary_key = True , serialize = False , verbose_name = 'ID' )),
41+ ('id' , django_mongodb .fields .ObjectIdAutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
4242 ('name' , models .CharField (max_length = 150 , unique = True , verbose_name = 'name' )),
4343 ('permissions' , models .ManyToManyField (blank = True , to = 'auth.permission' , verbose_name = 'permissions' )),
4444 ],
@@ -53,7 +53,7 @@ class Migration(migrations.Migration):
5353 migrations .CreateModel (
5454 name = 'User' ,
5555 fields = [
56- ('id' , django_mongodb .fields .auto . ObjectIdAutoField (auto_created = True , db_column = '_id' , primary_key = True , serialize = False , verbose_name = 'ID' )),
56+ ('id' , django_mongodb .fields .ObjectIdAutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
5757 ('password' , models .CharField (max_length = 128 , verbose_name = 'password' )),
5858 ('last_login' , models .DateTimeField (blank = True , null = True , verbose_name = 'last login' )),
5959 ('is_superuser' , models .BooleanField (default = False , help_text = 'Designates that this user has all permissions without explicitly assigning them.' , verbose_name = 'superuser status' )),
0 commit comments