Fixed #4370 -- Clarified how syncdb searches for initial data files. Thanks,

Simon Greenhill and gsf@perfectlygood.net.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-06-01 10:11:43 +00:00
parent dcc090e457
commit 2dd753fa88
1 changed files with 4 additions and 3 deletions

View File

@ -403,9 +403,10 @@ this command to install the default apps.
If you're installing the ``django.contrib.auth`` application, ``syncdb`` will If you're installing the ``django.contrib.auth`` application, ``syncdb`` will
give you the option of creating a superuser immediately. give you the option of creating a superuser immediately.
``syncdb`` will also search for and install any fixture named ``initial_data``. ``syncdb`` will also search for and install any fixture named ``initial_data``
See the documentation for ``loaddata`` for details on the specification of with an appropriate extension (e.g. ``json`` or ``xml``). See the
fixture data files. documentation for ``loaddata`` for details on the specification of fixture
data files.
test test
---- ----