From caa6eecc7a3d7da6ecf913d56e0cc6149da5fbee Mon Sep 17 00:00:00 2001 From: Bryan Kimani Date: Mon, 1 May 2017 21:08:38 +0300 Subject: [PATCH] Update tutorial-plain.rst 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``. --- docs/tutorial-plain.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tutorial-plain.rst b/docs/tutorial-plain.rst index a4c98a9..50f0750 100644 --- a/docs/tutorial-plain.rst +++ b/docs/tutorial-plain.rst @@ -95,6 +95,9 @@ following: $ python ./manage.py loaddata ingredients 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 yourself. You'll need to run the development server (see below), and