File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,8 @@ will need to set a password before using it::
3333
3434.. note ::
3535
36- You will also need to run ``./manage.py load_dev_fixtures `` to load all fixture
37- files. This will download an approximately 11 MB gzipped set of fixtures
38- that are sanitized of sensitive user data and then loaded into your local
39- database.
36+ You will also need to run ``./manage.py create_initial_data `` to create
37+ initial data for the most used applications.
4038
4139.. _Ansible : http://docs.ansible.com/ansible/intro_installation.html
4240
@@ -85,14 +83,9 @@ To compile and compress static media, you will need *compass* and
8583 To install *yui-compressor *, use your OS's package manager or download it
8684 directly then add the executable to your ``PATH ``.
8785
88- To load all fixture files ::
86+ To create initial data for the most used applications, run ::
8987
90- $ ./manage.py load_dev_fixtures
91-
92- .. note ::
93-
94- This will download an approximately 11 MB gzipped set of fixtures that are
95- sanitized of sensitive user data and then loaded into your local database.
88+ $ ./manage.py create_initial_data
9689
9790Finally, start the development server::
9891
Original file line number Diff line number Diff line change 1+ ` boxes.json ` is not actually a Django fixture file. It's mainly used by
2+ the ` initial_data ` function in ` boxes/factories.py ` .
3+
4+ We still use ` sitetree_menus.json ` fixture because it's hard to create
5+ its data via ` factory_boy ` or programmatically by using its API.
You can’t perform that action at this time.
0 commit comments