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

Cannot update existing records #63

Closed
anxolerd opened this issue Jul 21, 2015 · 0 comments
Closed

Cannot update existing records #63

anxolerd opened this issue Jul 21, 2015 · 0 comments

Comments

@anxolerd
Copy link
Contributor

STR

  1. create a new entry (vacancy for example)
  2. save it
  3. open it for editing
  4. change something
  5. click save button

Expected result

Entry successfully updated

Actual result

Traceback (most recent call last):
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/home/anxolerd/workspace/Meowth/env/lib/python3.4/site-packages/flask/views.py", line 149, in dispatch_request
    return meth(*args, **kwargs)
  File "/home/anxolerd/workspace/Meowth/project/admin/utils.py", line 63, in post
    model.bl.update(self._clean_data(form.data))
  File "/home/anxolerd/workspace/Meowth/project/admin/utils.py", line 30, in _clean_data
    for (k, v) in _data:
ValueError: too many values to unpack (expected 2)
anxolerd added a commit that referenced this issue Jul 21, 2015
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