Merge "Refer local_settings in doc to customize settings"

This commit is contained in:
Jenkins 2014-05-06 03:00:09 +00:00 committed by Gerrit Code Review
commit a2d991274d
3 changed files with 8 additions and 4 deletions

View File

@ -34,6 +34,10 @@ Next you will need to setup your Django application config by copying ``openstac
> cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
.. note::
To add new settings or customize existing settings, modify the ``local_settings.py`` file.
Horizon assumes a single end-point for OpenStack services which defaults to
the local host (127.0.0.1). If this is not the case change the
``OPENSTACK_HOST`` setting in the ``openstack_dashboard/local/local_settings.py`` file, to the actual IP address of the OpenStack end-point Horizon should use.

View File

@ -192,7 +192,7 @@ Allowed Hosts
-------------
For production deployments of Horizon you must add the ``ALLOWED_HOSTS``
setting to your ``settings.py`` or ``local_settings.py`` file. This setting
setting to your ``local_settings.py`` file. This setting
was added in Django 1.5 and is an important security feature. For more
information on it please consult the ``local_settings.py.example`` file
or Django's documentation.

View File

@ -49,9 +49,9 @@ This allows for common site-customization requirements such as:
* Re-ordering panels within a dashboard or panel group.
To specify the python module containing your modifications, add the key
``customization_module`` to your ``settings.HORIZON_CONFIG`` dictionary.
The value should be a string containing the path to your module in dotted
python path notation. Example::
``customization_module`` to your ``HORIZON_CONFIG`` dictionary in
``local_settings.py``. The value should be a string containing the path to your
module in dotted python path notation. Example::
HORIZON_CONFIG = {
"customization_module": "my_project.overrides"