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 /website/urls.py | |
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 'website/urls.py')
-rw-r--r-- | website/urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/website/urls.py b/website/urls.py index 1c7d75e..71588af 100644 --- a/website/urls.py +++ b/website/urls.py @@ -1,4 +1,5 @@ from django.conf.urls import patterns, include, url +from website import views urlpatterns = patterns('', url(r'^$', 'website.views.home', name='home'), @@ -9,6 +10,7 @@ urlpatterns = patterns('', url(r'^answer-comment/$', 'website.views.answer_comment', name='answer_comment'), url(r'^filter/(?P<category>[^/]+)/$', 'website.views.filter', name='filter'), url(r'^filter/(?P<category>[^/]+)/$', 'website.views.filter', name='filter'), + #url(r'^filter/(?P<category>[^/]+)/(?P<tutorial>[^/]+)/(?P<minute_range>[^/]+)/$', 'website.views.filter', name='filter'), #url(r'^filter/(?P<category>[^/]+)/(?P<tutorial>[^/]+)/(?P<minute_range>[^/]+)/(?P<second_range>[^/]+)/$', 'website.views.filter', name='filter'), url(r'^new-question/$', 'website.views.new_question', name='new_question'), @@ -18,7 +20,7 @@ urlpatterns = patterns('', url(r'^clear-notifications/$', 'website.views.clear_notifications', name='clear_notifications'), url(r'^search/$', 'website.views.search', name='search'), url(r'^unanswered-notification/$', 'website.views.unanswered_notification', name='unanswered_notification'), - + url(r'^vote_post/$', 'website.views.vote_post', name='vote_post'), # Ajax helpers url(r'^ajax-tutorials/$', 'website.views.ajax_tutorials', name='ajax_tutorials'), url(r'^ajax-duration/$', 'website.views.ajax_duration', name='ajax_duration'), |