首页IT科技maintenance(Installation — South v0.7 documentation)

maintenance(Installation — South v0.7 documentation)

时间2025-06-20 13:15:58分类IT科技浏览4001
导读:Configuring your Django installation¶...

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

创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
seo网站优化详解怎么写(88个seo网站优化基础知识点) 织梦人是什么类型的书(《织梦的采集》:开启您的在线商业之旅)