Installation — South v0.7 documentation

Installation — South v0.7 documentation,第1张

Installation — South v0.7 documentation

Configuring your Django installation¶

Now you’ve installed South system-wide, you’ll need to configure Django to use
it. Doing so is simple; just edit your settings.py and add 'south' to
the end of INSTALLED_APPS.

If Django doesn’t seem to pick this up, check that you’re not overriding
INSTALLED_APPS elsewhere, and that you can run import south from inside
./manage.py shell with no errors.

Once South is added in, you’ll need to run ./manage.py syncdb to make the
South migration-tracking tables (South doesn’t use migrations for
its own models, for various reasons).

Now South is loaded into your project and ready to go, you’ll probably want to
take a look at our Tutorial.

reference:

http://www.cnblogs.com/itrust/archive/2010/05/06/1728738.html

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2090960.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存