【发布时间】:2023-03-14 14:10:01
【问题描述】:
我跑错了:
python manage.py schemamigration auth --initial
并立即得到:
+ Added model auth.Permission
+ Added unique constraint for ['content_type', 'codename'] on auth.Permission
+ Added model auth.Group
+ Added M2M table for permissions on auth.Group
+ Added model auth.User
+ Added M2M table for groups on auth.User
+ Added M2M table for user_permissions on auth.User
Created 0001_initial.py. You can now apply this migration with: ./manage.py migrate auth
由于我不想迁移django.contrib.auth 我如何恢复它?
【问题讨论】:
标签: django django-south