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

raised MultipleObject in attachments #133

Open
mgaitan opened this issue Mar 27, 2017 · 0 comments
Open

raised MultipleObject in attachments #133

mgaitan opened this issue Mar 27, 2017 · 0 comments

Comments

@mgaitan
Copy link
Owner

mgaitan commented Mar 27, 2017

MultipleObjectsReturned: get() returned more than one Attachment -- it returned 157!
  File "waliki/acl.py", line 63, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "waliki/attachments/views.py", line 40, in get_file
    attachment = get_object_or_404(Attachment, file__endswith=filename, page__slug=slug)

image

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