diff options
author | Jay Parikh | 2012-07-23 15:27:25 +0530 |
---|---|---|
committer | Jay Parikh | 2012-07-23 15:27:25 +0530 |
commit | 92a7668ae75e6b6244083dc56cdf50567f72086e (patch) | |
tree | 261d6365af8c4403e57c89213f06471b3cb8344a /stapp/video | |
parent | 4e91b6ee6bc6a329b7382afabcc233a9e3b6e192 (diff) | |
download | stproject-92a7668ae75e6b6244083dc56cdf50567f72086e.tar.gz stproject-92a7668ae75e6b6244083dc56cdf50567f72086e.tar.bz2 stproject-92a7668ae75e6b6244083dc56cdf50567f72086e.zip |
modification to change the description and name of the video being played
Diffstat (limited to 'stapp/video')
-rw-r--r-- | stapp/video/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stapp/video/views.py b/stapp/video/views.py index 544c2b0..8b7240d 100644 --- a/stapp/video/views.py +++ b/stapp/video/views.py @@ -15,6 +15,7 @@ def show(request): latest_modules = Module.objects.order_by('-modified')[0:3] all_modules = Module.objects.order_by('modified') + context = { 'latest_modules' : latest_modules , 'play' : latest_video, 'all_modules':all_modules} return render(request, 'video/home.html', context) |