python学习
归来一大叔
这个作者很懒,什么都没留下…
展开
-
django提供的admin后台增加用户时提示:“Table ‘login.login_user‘ doesn‘t exist“
ProgrammingError at /admin/login/user/add/ (1146, "Table 'login.login_user' doesn't exist")原创 2022-04-24 00:45:57 · 1042 阅读 · 0 评论 -
运行django项目出错提示:Requested setting REST_FRAMEWORK
raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing原创 2022-04-20 23:39:22 · 3051 阅读 · 0 评论 -
创建Django项目可能遇到的问题
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions. Run 'python manage.py migrate' to apply them.原创 2022-04-20 18:33:52 · 465 阅读 · 0 评论