Remove template directory from base settings
[xnet] / xnet / settings / base.py
index f0d34d6..613ef8f 100644 (file)
@@ -54,7 +54,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     'django.core.context_processors.static',
     'django.core.context_processors.tz',
     'django.contrib.messages.context_processors.messages',
-    'xnet.accounts.context_processors.xnet',
+    'xnet.groups.context_processors.xnet',
 )
 
 SITE_ID = 1
@@ -91,7 +91,7 @@ STATIC_URL = '/static/'
 
 # Additional locations of static files
 STATICFILES_DIRS = (
-    os.path.join(ROOT_DIR, 'static'),
+    os.path.join(ROOT_DIR, 'static'),
     # Put strings here, like "/home/html/static" or "C:/www/django/static".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
@@ -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',
 )
@@ -120,7 +120,7 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
-    'xnet.accounts.middleware.XnetAccountMiddleware',
+    'xnet.groups.middleware.XnetAccountMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
     # Uncomment the next line for simple clickjacking protection:
     # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
@@ -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.
@@ -149,11 +149,13 @@ INSTALLED_APPS = (
 
     'django_authgroupex',
     'crispy_forms',
-    'xnet.site',
+
     'xnet.accounts',
+    'xnet.site',
+    'xnet.groups',
     'xnet.news',
     'xnet.events',
-    'xnet.example',
+    'xnet.profiles',
 )
 
 # A sample logging configuration. The only tangible logging