开发者

How can I automatically load fixtures into my development database but not my production database when using django-nonrel?

I'd like to load some test data into my development db but not put it into my production db.

In django you can create database-specific fixtures using this mechanism: http://docs.djangoproject.com/en/dev/ref/django-admin/#database-specific-fixtures

It is p开发者_开发问答ossible to do something similar with django-nonrel?


By default, the local datastore is separate from the production datastore.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜