From 3fcee453b919dd7109a86f888af0c488cf4f2f0e Mon Sep 17 00:00:00 2001 From: Kelketek Date: Thu, 3 Sep 2015 15:52:35 -0500 Subject: [PATCH] Update template_dirs search paths for override --- evennia/game_template/server/conf/settings.py | 1 + evennia/settings_default.py | 1 + 2 files changed, 2 insertions(+) diff --git a/evennia/game_template/server/conf/settings.py b/evennia/game_template/server/conf/settings.py index 25fa0c0cfb..6ea4f4ad97 100644 --- a/evennia/game_template/server/conf/settings.py +++ b/evennia/game_template/server/conf/settings.py @@ -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"),) diff --git a/evennia/settings_default.py b/evennia/settings_default.py index 883004e5c7..9c34a0b99a 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -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"),)