Posted on the PA forums regarding this issue I'm facing getting South to work on PA but it seems like the helpful folk on there are busy these days, so here I am.
关于这个问题在PA论坛上发表我正面临让南方工作PA的问题,但这些天看起来很有帮助的人很忙,所以我在这里。
-
I understand that Django in PA ships with South.
据我所知,宾夕法尼亚州的Django与南方一起出货。
-
In the python shell on a bash console on PA,
import south
does not return any errors.在PA上的bash控制台上的python shell中,import south不会返回任何错误。
-
I have included
'south',
in theINSTALLED_APPS
section of my settings.py file.我在settings.py文件的INSTALLED_APPS部分中包含了'south'。
-
I have run
python manage.py syncdb
prior to executing any South commands, and the syncdb runs but I cannot discern any differences in that output from an un-Southedsyncdb
. This is the output:我在执行任何South命令之前运行了python manage.py syncdb,并且syncdb运行但是我无法识别来自un-Southed syncdb的输出中的任何差异。这是输出:
Creating tables ...
创建表格......
Installing custom SQL ...
安装自定义SQL ...
Installing indexes ...
安装索引......
No fixtures found.
找不到固定装置。
-
Trying to run any South command returns
Unknown Command: 'south_command'
. This applies to all of:尝试运行任何South命令都会返回Unknown Command:'south_command'。这适用于以下所有:
python manage.py convert_to_south app_name
python manage.py convert_to_south app_name
python manage.py schemamigration app_name --initial
python manage.py schemamigration app_name --initial
python manage.py schemamigration app_name --auto
python manage.py schemamigration app_name --auto
If it helps, I had set up my web app using the Manual Configuration method as suggested on the PA tutorial, rather than as a Django project.
如果它有帮助,我使用PA教程中建议的手动配置方法而不是Django项目来设置我的Web应用程序。
I am literally stuck at step zero, any help at all would be appreciated, thanks in advance!
我真的被困在第0步,任何帮助都会受到赞赏,在此先感谢!
1 个解决方案
#1
0
Sounds like you did everything right.
听起来你做的一切都很正确。
A simple restart of the server (on the Web page of your dashboard) might solve it?
简单重启服务器(在仪表板的网页上)可以解决它吗?
#1
0
Sounds like you did everything right.
听起来你做的一切都很正确。
A simple restart of the server (on the Web page of your dashboard) might solve it?
简单重启服务器(在仪表板的网页上)可以解决它吗?