pycharm运行django出错

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
请问这个如何解决?

炎炎设计
浏览 1390回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP