diff polls/views.py @ 1091:f7554fb88727

Update polls app to V3 design.
author Brian Neal <bgneal@gmail.com>
date Wed, 11 May 2016 21:49:14 -0500
parents 71685387dd11
children
line wrap: on
line diff
--- a/polls/views.py	Mon May 09 19:48:51 2016 -0500
+++ b/polls/views.py	Wed May 11 21:49:14 2016 -0500
@@ -61,6 +61,7 @@
     return render(request, 'polls/index.html', {
         'current_polls': current_polls,
         'old_polls': old_polls,
+        'V3_DESIGN': True,
         })
 
 #######################################################################
@@ -77,6 +78,7 @@
         'total_votes': total_votes,
         'choices': choices,
         'user_choice': get_user_choice(request.user, poll),
+        'V3_DESIGN': True,
         })
 
 #######################################################################
@@ -106,6 +108,7 @@
         'poll': poll,
         'vote_form': vote_form,
         'user_choice': user_choice,
+        'V3_DESIGN': True,
         })
 
 #######################################################################