Merge pull request #164 from bryankimani/patch-1

Update tutorial-plain.rst
This commit is contained in:
Syrus Akbary 2017-05-03 21:03:57 -07:00 committed by GitHub
commit afec960e4d

View File

@ -95,6 +95,9 @@ following:
$ python ./manage.py loaddata ingredients $ python ./manage.py loaddata ingredients
Installed 6 object(s) from 1 fixture(s) Installed 6 object(s) from 1 fixture(s)
Note:
If your run ``$ python ./manage.py loaddata ingredients`` without installing ``ingredients`` app in the project ``settings.py`` you will get the following error ``CommandError: No fixture named 'ingredients' found``. So make sure ``ingredients`` app has been put on the ``settings.py`` INSTALLED_APPS section before running ``$ python ./manage.py loaddata ingredients``.
Alternatively you can use the Django admin interface to create some data Alternatively you can use the Django admin interface to create some data
yourself. You'll need to run the development server (see below), and yourself. You'll need to run the development server (see below), and