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 回答
- 0 關注
- 1466 瀏覽
添加回答
舉報
0/150
提交
取消