Merge pull request #12 from philippbosch/patch-1
Mandatory nit-picking.
This commit is contained in:
commit
5f5e43afad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue