doc fixes: example settings are under docs, use manage.py
This commit is contained in:
Родитель
5d165724b6
Коммит
21f5a183b8
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче