Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reporting to trial 565 fails with a 505 #236

Open
drcjar opened this issue Feb 5, 2015 · 1 comment
Open

reporting to trial 565 fails with a 505 #236

drcjar opened this issue Feb 5, 2015 · 1 comment

Comments

@drcjar
Copy link
Member

drcjar commented Feb 5, 2015

reported by @Bengoldacre reproduced by me
http://randomizeme.org/trials/565

@davidmiller
Copy link
Member

Relevant server error log reveals :

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/__init__.py", line 146, in post
    if not self.request.POST.get('minutes') and self.request.get('seconds'):

AttributeError: 'WSGIRequest' object has no attribute 'get'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants