diff options
author | ashwinishinde | 2015-06-19 15:39:01 +0530 |
---|---|---|
committer | ashwinishinde | 2015-06-19 15:39:01 +0530 |
commit | bf20363adec8afed8d8e10ad7e0b641c51568cff (patch) | |
tree | 324a5ee334456c9ce602ee07aa43912ce5590adb /forums | |
parent | 23c44aa78fcf3c015dd4bcaf5b7e8a223e1b6950 (diff) | |
download | FOSSEE-Forum-bf20363adec8afed8d8e10ad7e0b641c51568cff.tar.gz FOSSEE-Forum-bf20363adec8afed8d8e10ad7e0b641c51568cff.tar.bz2 FOSSEE-Forum-bf20363adec8afed8d8e10ad7e0b641c51568cff.zip |
Subject: Added Vote Functionality
Description:
1) Implementation of vote for question
2) Added CSS for vote-up and vope-down
Diffstat (limited to 'forums')
-rw-r--r-- | forums/settings.py | 7 | ||||
-rw-r--r-- | forums/urls.py | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/forums/settings.py b/forums/settings.py index b556319..c21d2e0 100644 --- a/forums/settings.py +++ b/forums/settings.py @@ -142,6 +142,8 @@ INSTALLED_APPS = ( 'compressor', 'debug_toolbar', 'captcha', + 'googlesearch', + 'gtm', #'migrate_spoken', ) @@ -177,11 +179,12 @@ LOGGING = { TEMPLATE_CONTEXT_PROCESSORS += ( 'django.core.context_processors.request', 'website.context_processors.admin_processor', + ) COMPRESS_ROOT = PROJECT_DIR + "/static/" -COMPRESS_ENABLED = True # disable in production Env -HTML_MINIFY = True # disable in production Env +COMPRESS_ENABLED = False # disable in production Env +HTML_MINIFY = False # disable in production Env HTML_MINIFY = HTML_MINIFY RECAPTCHA_PUBLIC_KEY = '6LemngMTAAAAAAC0Fkv0CQcavkTIIJ3LTDzi9gMq' diff --git a/forums/urls.py b/forums/urls.py index 31c679b..4584b66 100644 --- a/forums/urls.py +++ b/forums/urls.py @@ -23,4 +23,5 @@ urlpatterns = patterns('', url(r"^accounts/confirm/(?P<confirmation_code>\w+)/(?P<username>[\w. @-]+)/$", 'forums.views.confirm', name='confirm'), url(r"^accounts/profile/(?P<username>[\w. @-]+)/$", 'forums.views.account_profile', name='profile'), url(r"^accounts/view-profile/(?P<username>[\w. @-]+)/$", 'forums.views.account_view_profile', name='view_profile'), + url(r'^search/', include('googlesearch.urls')), ) |