Skip to content

Comments

Fix 500 response error when searching FK for 'TokenFind' and 'Token' in Django admin#1942

Merged
tykling merged 1 commit intobornhack:mainfrom
0xUnicorn:bugfix/admin-token-search
Dec 22, 2025
Merged

Fix 500 response error when searching FK for 'TokenFind' and 'Token' in Django admin#1942
tykling merged 1 commit intobornhack:mainfrom
0xUnicorn:bugfix/admin-token-search

Conversation

@0xUnicorn
Copy link
Contributor

search_fields only search within the model and not the FK's fields without specifying what field it should search

@tykling
Copy link
Member

tykling commented Dec 22, 2025

nice thank you

@tykling tykling merged commit 6ed4154 into bornhack:main Dec 22, 2025
0 of 2 checks passed
@0xUnicorn 0xUnicorn deleted the bugfix/admin-token-search branch December 22, 2025 11:35
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

Successfully merging this pull request may close these issues.

2 participants