summaryrefslogtreecommitdiff
path: root/stapp/video
diff options
context:
space:
mode:
authorJay Parikh2012-07-19 19:25:52 +0530
committerJay Parikh2012-07-19 19:25:52 +0530
commitbe07f320f872c9be90d9fbc53aba8fadadc35396 (patch)
tree0f76f9355a6dd0b8f8afa27ae05aa5aae0c59763 /stapp/video
parent6c2fa5dc986fc3ea548f79e713eb2def052a585d (diff)
downloadstproject-be07f320f872c9be90d9fbc53aba8fadadc35396.tar.gz
stproject-be07f320f872c9be90d9fbc53aba8fadadc35396.tar.bz2
stproject-be07f320f872c9be90d9fbc53aba8fadadc35396.zip
changed the UI to seperate the main video and removed thumbnails
Diffstat (limited to 'stapp/video')
-rw-r--r--stapp/video/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stapp/video/views.py b/stapp/video/views.py
index 3ec1953..3500f74 100644
--- a/stapp/video/views.py
+++ b/stapp/video/views.py
@@ -12,7 +12,7 @@ def show(request):
latest_video = Video.objects.latest('created')
#Get last three modified modules
- latest_modules = Module.objects.order_by('-modified')[0:3]
+ latest_modules = Module.objects.order_by('-modified')
context = { 'modules' : latest_modules , 'play' : latest_video}