diff options
author | Jayaram Pai | 2014-03-19 13:22:23 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-03-19 13:22:23 +0530 |
commit | dffa556eede4d633879e55b60bf95e4469c530c0 (patch) | |
tree | 4f20ef8a8291123adfef10101a727b4f1029b0e1 /forums | |
parent | 45ee2992b4ec72c62d5ce69611589521e16d0366 (diff) | |
download | spoken-tutorial-forums-dffa556eede4d633879e55b60bf95e4469c530c0.tar.gz spoken-tutorial-forums-dffa556eede4d633879e55b60bf95e4469c530c0.tar.bz2 spoken-tutorial-forums-dffa556eede4d633879e55b60bf95e4469c530c0.zip |
added commenting feature on the answers
replies are now renamed to answers
Diffstat (limited to 'forums')
-rw-r--r-- | forums/settings.py | 5 | ||||
-rw-r--r-- | forums/wsgi.py | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/forums/settings.py b/forums/settings.py index 2930bc0..6ab03c0 100644 --- a/forums/settings.py +++ b/forums/settings.py @@ -98,6 +98,7 @@ STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', # 'django.contrib.staticfiles.finders.DefaultStorageFinder', + 'compressor.finders.CompressorFinder', ) # Make this unique, and don't share it with anybody. @@ -146,6 +147,8 @@ INSTALLED_APPS = ( 'website', 'widget_tweaks', 'drupal_auth', + 'compressor', + 'debug_toolbar', ) # A sample logging configuration. The only tangible logging @@ -181,3 +184,5 @@ AUTH_USER_MODEL = 'drupal_auth.Users' AUTHENTICATION_BACKENDS = ( 'drupal_auth.backends.DrupalAuthBackend', ) DATABASE_ROUTERS = ['drupal_auth.routers.DrupalAuthRouter'] TEMPLATE_CONTEXT_PROCESSORS += ('website.context_processors.admin_processor', ) + +COMPRESS_ENABLED = True diff --git a/forums/wsgi.py b/forums/wsgi.py index 728eed4..3a52e8b 100644 --- a/forums/wsgi.py +++ b/forums/wsgi.py @@ -24,8 +24,8 @@ sys.path.append('/Sites/venv/forums/') # os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings" os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings" -activate_this = '/Sites/venv/bin/activate_this.py' -execfile(activate_this, dict(__file__=activate_this)) +#activate_this = '/Sites/venv/bin/activate_this.py' +#execfile(activate_this, dict(__file__=activate_this)) # This application object is used by any WSGI server configured to use this # file. This includes Django's development server, if the WSGI_APPLICATION |