branch | payments |
changeset 255 | b20d55891709 |
parent 251 | b99607287a52 |
child 257 | e2ff0c70014d |
--- a/project/scipycon/registration/views.py Mon Nov 15 19:38:59 2010 +0530 +++ b/project/scipycon/registration/views.py Mon Nov 15 19:43:15 2010 +0530 @@ -302,7 +302,9 @@ if not request.user.is_staff: redirect_to = reverse('scipycon_login', kwargs={'scope': scope}) - + return set_message_cookie( + redirect_to, msg = u'You must be a staff on this website to ' + 'access this page.') q = Registration.objects.all() conf_num = q.filter(conference=True).count()