Should also add validation rules to the frontend if they're not there.
Traceback (most recent call last):
File "/home/app/randomise_me/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/app/randomise_me/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/app/randomise_me/local/lib/python2.7/site-packages/django/views/generic/base.py", line 86, in dispatch
return handler(request, *args, **kwargs)
File "/home/app/randomise_me/rm/trials/views.py", line 190, in post
report.seconds = (int(self.request.POST['minutes']) * 60) + int(self.request.POST['seconds'])
File "/home/app/randomise_me/local/lib/python2.7/site-packages/django/utils/datastructures.py", line 295, in __getitem__
raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))
MultiValueDictKeyError: "Key 'minutes' not found in <QueryDict: {u'date': [u'02/07/2013'], u'csrfmiddlewaretoken': [u'X4QRZ8akBEAwgps3vYuoNSKPagICATpH']}>"
Should also add validation rules to the frontend if they're not there.