Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown command: 'schemamigration' #11

Open
juri1987 opened this issue Feb 24, 2016 · 5 comments
Open

Unknown command: 'schemamigration' #11

juri1987 opened this issue Feb 24, 2016 · 5 comments

Comments

@juri1987
Copy link

运行 python manage.py schemamigration desktop.apps.account --init
Unknown command: 'schemamigration'
Type 'manage.py help' for usage.

@glily
Copy link

glily commented Feb 24, 2016

将python升级到2.7试试,注意虚拟环境要启动 virtualenv envansible source envansible/bin/active,按照安装步骤一步一步来

@juri1987
Copy link
Author

升到2.7 还是不行...

@glily
Copy link

glily commented Feb 24, 2016

升完pip啥的要重新安装一遍哦

@glily
Copy link

glily commented Feb 24, 2016

修改requirements.txt django-guardian==1.2 反正不要是1.4 否则还会遇到错误的 1.4不支持django1.6 django1.7不支持South

@juri1987
Copy link
Author

(envansible) [ansible@iZ23a0gu75wZ ansible_ui]$ django-admin.py --version
1.2
(envansible) [ansible@iZ23a0gu75wZ ansible_ui]$ python manage.py schemamigration desktop.apps.account --init
Unknown command: 'schemamigration'
Type 'manage.py help' for usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants