mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
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.
|
||||
TEMPLATE_DIRS = (
|
||||
os.path.join(GAME_DIR, "web", "template_overrides", ACTIVE_TEMPLATE),
|
||||
os.path.join(GAME_DIR, "web", "template_overrides"),
|
||||
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
||||
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
||||
|
|
|
|||
|
|
@ -591,6 +591,7 @@ STATICFILES_IGNORE_PATTERNS = ('README.md',)
|
|||
ACTIVE_TEMPLATE = 'prosimii'
|
||||
# We setup the location of the website template as well as the admin site.
|
||||
TEMPLATE_DIRS = (
|
||||
os.path.join(GAME_DIR, "web", "template_overrides", ACTIVE_TEMPLATE),
|
||||
os.path.join(GAME_DIR, "web", "template_overrides"),
|
||||
os.path.join(EVENNIA_DIR, "web", "templates", ACTIVE_TEMPLATE),
|
||||
os.path.join(EVENNIA_DIR, "web", "templates"),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue