doc fixes: example settings are under docs, use manage.py

This commit is contained in:
Jeff Balogh 2010-03-22 18:34:23 -07:00
Родитель 5d165724b6
Коммит 21f5a183b8
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -143,7 +143,7 @@ settings into ``settings_local.py``. Make sure you have ::
in your ``settings_local.py`` so that all of the configuration is included.
The settings template for developers, included below, is at
:src:`settings/settings_local.dev.py`.
:src:`docs/settings/settings_local.dev.py`.
.. literalinclude:: /settings/settings_local.dev.py
@ -160,7 +160,7 @@ If you have access, I recommend you use http://gist.github.com/273575 to create
a small database from the production db. Otherwise, let Django create the
database schema for you. Either way, run ::
django syncdb --noinput
./manage.py syncdb --noinput
to get the auth and admin tables from Django.

Просмотреть файл

@ -31,7 +31,7 @@ Configuration
We keep most of our config in ``settings.py`` under version control. Local
config can be overridden in ``settings_local.py``. This template, inlined
below, can be found at :src:`settings/settings_local.prod.py`:
below, can be found at :src:`docs/settings/settings_local.prod.py`:
.. literalinclude:: /settings/settings_local.prod.py