django笔记之fixtures
2014年5月30日 08:00
主要参考官方文档 ###为何用它 Providing initial data for models ###Where Django finds fixture files By default, Django looks in the fixtures directory inside each app for fixtures. You can set the FIXTURE_DIRS setting to a list of additional directories where Django should look. ###相关指令 python manage.py loaddata APPNAME python manage.py dumpdata APPNAME #