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

View.kwargs is an unsubscriptable-object #61

Closed
danni opened this issue Jan 19, 2016 · 2 comments
Closed

View.kwargs is an unsubscriptable-object #61

danni opened this issue Jan 19, 2016 · 2 comments

Comments

@danni
Copy link
Contributor

danni commented Jan 19, 2016

The following code generates an error:

    return super().get_queryset()\
        .filter(capability=self.kwargs['capability'])

views.py [unsubscriptable-object] Value 'self.kwargs' is unsubscriptable [python/pylint]

@art-solopov
Copy link

+1.

I'm getting pretty much the same error.

@carlio
Copy link
Collaborator

carlio commented May 25, 2016

think @danni fixed this in #67 which is now in master, will make new release soon.

@carlio carlio closed this as completed May 25, 2016
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

3 participants