Remove template directory from base settings
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sat, 30 Mar 2013 16:31:27 +0000 (17:31 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sat, 30 Mar 2013 16:31:27 +0000 (17:31 +0100)
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
xnet/settings/base.py

index 1025a8f..613ef8f 100644 (file)
@@ -100,7 +100,7 @@ STATICFILES_DIRS = (
 # List of finder classes that know how to find static files in
 # various locations.
 STATICFILES_FINDERS = (
-    'django.contrib.staticfiles.finders.FileSystemFinder',
+#    'django.contrib.staticfiles.finders.FileSystemFinder',
     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
@@ -110,7 +110,7 @@ SECRET_KEY = 'FOR DEV ONLY!!'
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
-    'django.template.loaders.filesystem.Loader',
+#    'django.template.loaders.filesystem.Loader',
     'django.template.loaders.app_directories.Loader',
 #     'django.template.loaders.eggs.Loader',
 )
@@ -132,7 +132,7 @@ ROOT_URLCONF = 'xnet.urls'
 WSGI_APPLICATION = 'xnet.wsgi.application'
 
 TEMPLATE_DIRS = (
-    os.path.join(ROOT_DIR, 'templates'),
+    #os.path.join(ROOT_DIR, 'templates'),
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.