Don't erase old publcations, so that the relations don't disappear.
[redakcja.git] / project / settings.py
index b2c7f85..0551819 100644 (file)
@@ -77,12 +77,14 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'explorer.middleware.EditorSettingsMiddleware',
     'django.middleware.doc.XViewMiddleware',
+
+    'maintenancemode.middleware.MaintenanceModeMiddleware',
 )
 
 ROOT_URLCONF = 'urls'
 
 TEMPLATE_DIRS = (
-    PROJECT_ROOT + '/templates'
+    PROJECT_ROOT + '/templates',    
 )
 
 # CSS and JS files to compress
@@ -113,6 +115,8 @@ INSTALLED_APPS = (
     
     'explorer',
     'toolbar',
+    'api',
+    'wysiwyg',
 )