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

new proposal is broken? #4

Open
jrabbit opened this issue Feb 5, 2012 · 0 comments
Open

new proposal is broken? #4

jrabbit opened this issue Feb 5, 2012 · 0 comments

Comments

@jrabbit
Copy link

jrabbit commented Feb 5, 2012

ERROR Internal Server Error: /p/new/
Traceback (most recent call last):
  File "/sw/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/sw/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/Users/jacklaxson/Projects/sparkles/sparkles/views.py", line 254, in proposal_new
    if form.is_valid():
  File "/sw/lib/python2.7/site-packages/django/forms/forms.py", line 124, in is_valid
    return self.is_bound and not bool(self.errors)
  File "/sw/lib/python2.7/site-packages/django/forms/forms.py", line 115, in _get_errors
    self.full_clean()
  File "/sw/lib/python2.7/site-packages/django/forms/forms.py", line 270, in full_clean
    self._clean_fields()
  File "/sw/lib/python2.7/site-packages/django/forms/forms.py", line 290, in _clean_fields
    value = getattr(self, 'clean_%s' % name)()
  File "/Users/jacklaxson/Projects/sparkles/sparkles/views.py", line 217, in clean_invite
    invites = self.data['invites']
  File "/sw/lib/python2.7/site-packages/django/utils/datastructures.py", line 258, in __getitem__
    raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))
MultiValueDictKeyError: "Key 'invites' not found in <QueryDict: {u'invite': [u'jart'], u'title': [u'Fooo'], u'content': [u'Foooo'], u'email_blast': [u'on'], u'csrfmiddlewaretoken': [u'aae23f5f6d87fb3dfe623dbc1d93e9f2'], u'sms_blast': [u'on']}>"
[05/Feb/2012 17:24:27] "POST /p/new/ HTTP/1.1" 500 42
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

1 participant