From f19fa339eb576e49d78834009ca7d4597c441e4d Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Sat, 8 Mar 2014 16:22:45 +0100 Subject: [PATCH] Add documentation for extra-settings parameter. --- docs/reference.rst | 2 ++ docs/usage.rst | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/reference.rst b/docs/reference.rst index 2789fb4..d5ca034 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -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 diff --git a/docs/usage.rst b/docs/usage.rst index 6f8e19a..d318c4a 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -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 -----