当前位置:网站首页>解决:You have 18 unapplied migration(s). Your project may not work properly until you apply
解决:You have 18 unapplied migration(s). Your project may not work properly until you apply
2022-04-23 06:05:00 【贾岚翔】
问题描述:
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.
December 11, 2021 - 10:55:01
Django version 4.0, using settings 'Django.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
解决方案:按下ctrl+c退出terminal运行的程序,输入
python manage.py migrate
回车运行之后看到一连串ok
C:\Users\Crscd3799\PycharmProjects\Django>python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying sessions.0001_initial... OK
然后重新run就可以了
版权声明
本文为[贾岚翔]所创,转载请带上原文链接,感谢
https://jialanxiang.blog.csdn.net/article/details/121870327
边栏推荐
- [no steps in a small step to a thousand miles] Oracle Application derivative ora-01455 error reporting processing
- Prometheus和Thanos Receiver的“写多租户”实现
- 异常记录-11
- Include of ansible module_ Tasks: why is the imported task not executed after adding tags?
- Research on alertmanager repeated / missing alarm phenomenon and two key parameters_ Wait and group_ Interpretation of interval
- switch case时连写常规判断表达式的错误 case和if并用 l
- B站用户视频观看记录的存储方案
- [step by step, even thousands of miles] MySQL reports a large number of unauthenticated user connection errors
- 异常记录-17
- Redis FAQ
猜你喜欢
Apache Atlas 编译及安装记录
Try catch cannot catch asynchronous errors
Apache SeaTunnel 2.1.0部署及踩坑
阿里矢量库的图标使用教程(在线,下载)
High performance gateway for interconnection between VPC and IDC based on dpdk
Information:2021/9/29 10:01 - Build completed with 1 error and 0 warnings in 11s 30ms Error异常处理
oracle undo使用率高问题处理
ACFS文件系统创建扩大缩小等配置步骤
Typical application scenarios of alicloud log service SLS
Thanos Compactor组件使用
随机推荐
Abnormal record-12
将数组中指定的对象排在数组的前边
pg库对姓名进行校验
Ali vector library Icon tutorial (online, download)
Prometheus monitoring method and index interpretation of influxdb
通过源码探究@ModelAndView如何实现数据与页面的转发
异常记录-18
关于 synchronized、ThreadLocal、线程池、Atomic 原子类的 JUC 面试题
BPF program of type XDP
冬季实战营动手实战-上云必备环境准备,动手实操快速搭建LAMP环境 领鼠标 云小宝 背包 无影
"Write multi tenant" implementation of Prometheus and thanos receiver
pycharm Install packages failed
RAC环境中openssh版本对SSH互信创建的影响
异常记录-7
JS format current time and date calculation
Redis practice notes and source code analysis
Chaos takes you to the chaos project quickly
RAC环境alert日志报错Drop transient type: SYSTP2JW0acnAurDgU1sBqMBryw==的排查
Oracle net service: listener and service name resolution method
Abnormal record-10