From: Nicolas Iooss Date: Sat, 30 Mar 2013 16:31:27 +0000 (+0100) Subject: Remove template directory from base settings X-Git-Url: http://git.polytechnique.org/?p=xnet;a=commitdiff_plain;h=eb2b446863e0b0295f4d2b04558cc82224bb6733 Remove template directory from base settings Signed-off-by: Nicolas Iooss --- diff --git a/xnet/settings/base.py b/xnet/settings/base.py index 1025a8f..613ef8f 100644 --- a/xnet/settings/base.py +++ b/xnet/settings/base.py @@ -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.