Skip to content

Commit

Permalink
Add documentation for extra-settings parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed May 20, 2014
1 parent a3ca6c3 commit f19fa33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ advanced usage:
* ``--list-plugins``, ``-P``: List plugins that's going to be installed and
configured for the project; this will not alter the virtualenv or create the
project;
* ``--extra-settings``: Path to a file with extra variables to append to generated settings file. It doesn't need to be
a Python file, its content is blindly copied in the project settings.


.. _dj-database-url: https://github.com/kennethreitz/dj-database-url
8 changes: 8 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ This can be helpful to customize the virtualenv:

See :ref:`arguments` for arguments reference

Custom settings
---------------

If want or need to provide custom settings **before** the initial database sync is run, use `--extra-settings`
parameter.
To use this option, pass the path to a file as argument: its content is going to be appended to the generated
settings file.


HOWTO
-----
Expand Down

0 comments on commit f19fa33

Please sign in to comment.