Update template_dirs search paths for override
This commit is contained in:
parent
9f16cee0d2
commit
3fcee453b9
2 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ STATICFILES_DIRS = (
|
||||||
|
|
||||||
# We setup the location of the website template as well as the admin site.
|
# We setup the location of the website template as well as the admin site.
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATE_DIRS = (
|
||||||
|
os.path.join(GAME_DIR, "web", "template_overrides", ACTIVE_TEMPLATE),
|
||||||
os.path.join(GAME_DIR, "web", "template_overrides"),
|
os.path.join(GAME_DIR, "web", "template_overrides"),
|
||||||
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
||||||
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
||||||
|
|
|
||||||
|
|
@ -591,6 +591,7 @@ STATICFILES_IGNORE_PATTERNS = ('README.md',)
|
||||||
ACTIVE_TEMPLATE = 'prosimii'
|
ACTIVE_TEMPLATE = 'prosimii'
|
||||||
# We setup the location of the website template as well as the admin site.
|
# We setup the location of the website template as well as the admin site.
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATE_DIRS = (
|
||||||
|
os.path.join(GAME_DIR, "web", "template_overrides", ACTIVE_TEMPLATE),
|
||||||
os.path.join(GAME_DIR, "web", "template_overrides"),
|
os.path.join(GAME_DIR, "web", "template_overrides"),
|
||||||
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
||||||
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue