当前位置:网站首页>解决: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
边栏推荐
- Abnormal record-12
- 异常记录-16
- Dolphinscheduler源码包src.tar.gz解压问题
- Prometheus Cortex使用Block存储时的相关问题
- 一个DG环境的ORA-16047: DGID mismatch between destination setting and target database问题排查及监听VNCR特性
- 异常记录-18
- 关于我
- Typical application scenarios of alicloud log service SLS
- 基於ECS搭建雲上博客(雲小寶碼上送祝福,免費抽iphone13任務詳解)
- Prometheus Cortex架构概述(水平可扩展、高可用、多租户、长期存储)
猜你喜欢

Implementation of multi tenant read and write in Prometheus cortex
![[Lombok quick start]](/img/30/92251e7e12ce6e1c3f1084caade4d3.png)
[Lombok quick start]

Dolphinscheduler集成Flink任务踩坑记录

Typical application scenarios of alicloud log service SLS

OVS and OVS + dpdk architecture analysis

Analysis of Rdam principle

关于 synchronized、ThreadLocal、线程池、Atomic 原子类的 JUC 面试题

Dolphinscheduler配置Datax踩坑记录

MySQL 【读写锁+表锁+行锁+MVCC】

ACFS文件系统创建扩大缩小等配置步骤
随机推荐
How does thanos configure different data retention durations for different tenants
ORACLE表有逻辑坏块时EXPDP导出报错排查
Apache SeaTunnel 2.1.0部署及踩坑
异常记录-8
Exception record-7
Dolphinscheduler集成Flink任务踩坑记录
用反射与注解获取两个不同对象间的属性值差异
Will restarting the Oracle listener break the existing connection
Prometheus监控influxdb的方法及指标释义
将博客搬至CSDN
基于EMR离线数据分析-反馈有礼
Dolphinscheduler调度spark任务踩坑记录
异常记录-12
RAC环境报错ORA-00239: timeout waiting for control file enqueue排查
BCC installation and basic tool instructions
[MySQL basics] data export and import permissions and local_ Infile parameter
Introduction to DDoS attack / defense
Problems related to Prometheus cortex using block storage
Apache Atlas 编译及安装记录
Alertmanager重复/缺失告警现象探究及两个关键参数group_wait和group_interval的释义