Skip to content

Commit ef5f189

Browse files
committed
Update installation docs to mention 'create_initial_data'
1 parent 8c25543 commit ef5f189

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

docs/source/install.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff 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

9790
Finally, start the development server::
9891

fixtures/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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.

0 commit comments

Comments
 (0)