diff options
author | Jayaram Pai | 2014-01-24 11:03:35 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-01-24 11:03:35 +0530 |
commit | aa874ae1e64753a926aa6783dea2ad4ccb300973 (patch) | |
tree | 5fc946df3592f9ed5953b724d80302e3206a68aa /website | |
parent | 9f7c82e28316490ff479e31eb7b50db1e6ef1cd8 (diff) | |
download | FOSSEE-Forum-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.gz FOSSEE-Forum-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.bz2 FOSSEE-Forum-aa874ae1e64753a926aa6783dea2ad4ccb300973.zip |
fixed the ajax notificaion for QuestionDetailsEdit, changed wsgi.py
Diffstat (limited to 'website')
-rw-r--r-- | website/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/website/views.py b/website/views.py index 38bd973..4c9d8dd 100644 --- a/website/views.py +++ b/website/views.py @@ -13,7 +13,7 @@ from website.forms import NewQuestionForm, ReplyQuesitionForm from website.helpers import get_video_info admins = ( - 99999, + 9, 4376, 4915, 14595, 12329, 22467, 5518 ) categories = ( @@ -251,10 +251,10 @@ def ajax_duration(request): Q(tutorial_detail_id=video_detail.id), Q(language='English') ) - #video_path = '/Sites/spoken_tutorial_org/sites/default/files/{0}'.format( - # video_resource.tutorial_video - #) - video_path = '/home/cheese/test-video.ogv' + video_path = '/Sites/spoken_tutorial_org/sites/default/files/{0}'.format( + video_resource.tutorial_video + ) + #video_path = '/home/cheese/test-video.ogv' video_info = get_video_info(video_path) # convert minutes to 1 if less than 0 |