From 27143f34c0aa8682a49a9c963006829430e4f518 Mon Sep 17 00:00:00 2001 From: Philipp Bosch Date: Wed, 2 Apr 2014 16:43:33 +0200 Subject: [PATCH] Mandatory nit-picking. --- docs/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 40a7d48..4d6d98c 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -42,7 +42,7 @@ simply pass the value when instantiating the ``AppConf`` class:: myapp_settings = MyAppConf(SETTING_1='something completely different') - if 'different' in myapp_settings.SETTINGS_1: + if 'different' in myapp_settings.SETTING_1: print "yay, I'm different!" Custom configuration @@ -72,7 +72,7 @@ or the override value from the global settings as the only parameter. The method **must return** the value to be use for the setting in question. -After each of the ``*_configure`` methods have been called, the ``AppConf`` +After each of the ``configure_*`` methods has been called, the ``AppConf`` class will additionally call a main ``configure`` method, which can be used to do any further custom configuration handling, e.g. if multiple settings depend on each other. For that a ``configured_data`` dictionary