diff options
Diffstat (limited to 'stapp/video/views.py')
-rw-r--r-- | stapp/video/views.py | 2 |
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') |