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

'token' not a valid search field in admin #1083

Closed
n2ygk opened this issue Jan 10, 2022 · 1 comment · Fixed by #1085
Closed

'token' not a valid search field in admin #1083

n2ygk opened this issue Jan 10, 2022 · 1 comment · Fixed by #1085
Labels
Milestone

Comments

@n2ygk
Copy link
Member

n2ygk commented Jan 10, 2022

Is this valid? Searching from the admin now gives me django.core.exceptions.FieldError: Cannot resolve keyword 'token' into field. Choices are: access_token, application, application_id, created, expires, id, jti, scope, updated, user, user_id

Originally posted by @danlamanna in #1041 (comment)

@n2ygk n2ygk added the bug label Jan 10, 2022
@n2ygk n2ygk added this to the 1.6.3 milestone Jan 10, 2022
PetrDlouhy added a commit to PetrDlouhy/django-oauth-toolkit that referenced this issue Jan 11, 2022
PetrDlouhy added a commit to PetrDlouhy/django-oauth-toolkit that referenced this issue Jan 11, 2022
n2ygk pushed a commit that referenced this issue Jan 11, 2022
…remaining admin classes (#1085)

* fix #1083 ('token' not valid search field), add search fields to all remaining admin classes
n2ygk pushed a commit that referenced this issue Jan 11, 2022
…remaining admin classes (#1085)

* fix #1083 ('token' not valid search field), add search fields to all remaining admin classes
@n2ygk
Copy link
Member Author

n2ygk commented Jan 11, 2022

@delenamalan thanks for the report and @PetrDlouhy for the quick fix.

https://pypi.org/project/django-oauth-toolkit/1.6.3/

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