fix special handling of THEMES paths

This commit is contained in:
Ondrej Grover 2014-11-05 10:16:12 +01:00
commit ad6b483746
5 changed files with 24 additions and 15 deletions

View file

@ -720,7 +720,7 @@ Setting name (followed by default value, if any) What does it do?
the paths defined in this settings, they will be
progressively overwritten.
``CSS_FILE = 'main.css'`` Specify the CSS file you want to load.
``THEMES = ('simple', ('!simple', 'simple'))`` Extra themes that can be inherited from, either
``THEMES = ['simple', ('!simple', 'simple')]`` Extra themes that can be inherited from, either
implicitly (just a path to the theme) or explicitly
using a prefix marker (tuple of prefix and path to
theme). They can also inherit from each other,

View file

@ -377,7 +377,7 @@ extra explicitly inherited theme
.. code-block:: python
THEMES = ('simple', ('!simple', 'simple'), ('!foo', 'foo'))
THEMES = ['simple', ('!simple', 'simple'), ('!foo', 'foo')]
You can extend parent (inherited) or sibling (your own theme) templates