From 3dd7d96065e0a518ff1cbe0d97e356496f8227c1 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 22 Nov 2012 14:10:38 +0100 Subject: [PATCH] Add remote_static dir in STATICFILES_DIR --- youmap/settings/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/youmap/settings/base.py b/youmap/settings/base.py index c3ff60ff..89c4e6ec 100644 --- a/youmap/settings/base.py +++ b/youmap/settings/base.py @@ -99,6 +99,11 @@ TEMPLATE_DIRS = ( os.path.join(PROJECT_DIR, 'templates'), ) +STATICFILES_DIRS = ( + # Fabric will collect leaflet and draw in this dir + os.path.join(PROJECT_DIR, 'remote_static'), +) + TEMPLATE_CONTEXT_PROCESSORS += ( )