当前位置:网站首页>Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
2022-04-23 13:39:00 【Jia Lanxiang】
Problem description :
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.
Solution : Press down ctrl+c sign out terminal Running programs , Input
python manage.py migrate
After entering, you see a series of 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
And then again run That's all right.
版权声明
本文为[Jia Lanxiang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604509366.html
边栏推荐
- 超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!
- 这个SQL语名是什么意思
- Interface idempotency problem
- Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
- 联想拯救者Y9000X 2020
- 顶级元宇宙游戏Plato Farm,近期动作不断利好频频
- X509 parsing
- SPI NAND flash summary
- NPM err code 500 solution
- How do ordinary college students get offers from big factories? Ao Bing teaches you one move to win!
猜你喜欢
Xi'an CSDN signed a contract with Xi'an Siyuan University, opening a new chapter in IT talent training
How do ordinary college students get offers from big factories? Ao Bing teaches you one move to win!
Tangent space
Campus takeout system - "nongzhibang" wechat native cloud development applet
Logstash数据处理服务的输入插件Input常见类型以及基本使用
[quick platoon] 215 The kth largest element in the array
叮~ 你的奖学金已到账!C认证企业奖学金名单出炉
[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation
CSDN高校俱乐部“名师高校行”——湖南师范大学站
Ding ~ your scholarship has arrived! C certified enterprise scholarship list released
随机推荐
LeetCode_ DFS_ Medium_ 695. Maximum area of the island
[Journal Conference Series] IEEE series template download guide
Common types and basic usage of input plug-in of logstash data processing service
[point cloud series] neural opportunity point cloud (NOPC)
playwright控制本地谷歌浏览打开,并下载文件
Remove the status bar
The difference between string and character array in C language
[point cloud series] learning representations and generative models for 3D point clouds
SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
"Xiangjian" Technology Salon | programmer & CSDN's advanced road
2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
vscode小技巧
web三大组件之Filter、Listener
Machine learning -- PCA and LDA
C语言之字符串与字符数组的区别
Zero copy technology
The interviewer dug a hole for me: what's the use of "/ /" in URI?
Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
MySQL 8.0.11 download, install and connect tutorials using visualization tools
Innobackupex incremental backup