运行django报错:You have unapplied migrations; your app may not work properly until they are applied

报错如下

Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.

April 03, 2019 - 08:52:46
Django version 1.8.3, using settings 'DjangoWeb.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
 

解决:已经有提示让运行(它可以让我们在修改Model后可以在不影响现有数据的前提下重建表结构)

python manage.py migrate

 

你可能感兴趣的:(Linux系统,python)