pycharm 中建立django工程,然后运行其中任意文件,提示You have unapplied migrations; your app may not work properly until they are applied.Run 'python manage.py migrate' to apply them.(可以打开localhost的网页,网页显示:‘It worked!Congratulations on your first Django-powered page.Of course, you haven't actually done any work yet. Next, start your first app by running python manage.py startapp [app_label].You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!’)请问这个是在cmd命令中使用吗?(我在cmd中试用了一下:)我是python3(python2.7也试用了)然后在cmd中(进入到了python文件目录)输入'python manage.py migrate'提示:invalid syntax请问这个如何解决?
1 回答
- 1 回答
- 0 关注
- 1389 浏览
添加回答
举报
0/150
提交
取消