summaryrefslogtreecommitdiff
path: root/stapp/video/views.py
diff options
context:
space:
mode:
authorParth Buch2012-07-26 13:42:16 +0530
committerParth Buch2012-07-26 13:42:16 +0530
commita2e10a540f37507a80228be999550cb1ae6db696 (patch)
tree2cdb68830c9951e8f67805d6a11233c3a4903984 /stapp/video/views.py
parentfb25a59dd7e675fd785dcd2626e5521489ffbd7f (diff)
downloadstproject-a2e10a540f37507a80228be999550cb1ae6db696.tar.gz
stproject-a2e10a540f37507a80228be999550cb1ae6db696.tar.bz2
stproject-a2e10a540f37507a80228be999550cb1ae6db696.zip
Revert "random video id generation"
This reverts commit fb25a59dd7e675fd785dcd2626e5521489ffbd7f.
Diffstat (limited to 'stapp/video/views.py')
-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 54d3f54..d517c74 100644
--- a/stapp/video/views.py
+++ b/stapp/video/views.py
@@ -11,7 +11,7 @@ def show(request):
#Get the latest video to display on the front page
latest_video = Video.objects.latest('created')
- return HttpResponse(latest_video.mykey)
+
#Get last three modified modules
latest_modules = Module.objects.order_by('-modified')[0:3]
all_modules = Module.objects.order_by('modified')