ForeignKeyAutocompleteAdmin not working in django1.11
See original GitHub issueMy admin.py is
related_search_fields = {'organization': ('name', 'organization_code')}
organization is a fk
when I click at the magnifier, a new window opens the organization admin page, when it search? And there are same javascript error
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Admin Extensions — django-extensions 3.2.1 documentation
The current version of the ForeignKeyAutocompleteAdmin has issues with recent Django versions. We strongly suggest project using this extension to update to ...
Read more >Django-admin is not working Django 1.11 Python 3.6
Exprator's answer worked for me. I installed Django while inside virtualenv and did "django-admin --version", it works fine then I did the ...
Read more >django-extensions Documentation - Read the Docs
Please be aware and careful when using ForeignKeyAutocompleteAdmin. • The current version of the ForeignKeyAutocompleteAdmin has issues with ...
Read more >28488 (Django 1.11+ raises CSRF verification failed if settings ...
I'm using Django1.11 (and made tests also with Django1.11.4) and having problems when submitting a ... DEBUG , submitted again, and the problem...
Read more >django-extensions Changelog - pyup.io
Please stop using ForeignKeyAutocompleteAdmin edition :-) Changes: ... at [https://github.com/django-extensions/django-extensions/issues]
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem - I’ve added ForeignKeyAutocompleteAdminMixin to both sides of the FK relationship, but there is no autocomplete going on at all - nothing happens if I type in the input. If I click the search icon (one of which is missing) I can search in the pop-up window, but that’s the only thing that’s working.
Is this something that would be fixed by fixing the jQuery problem? Unfortunately garrybodsworth’s diff is missing from his comment so I can’t actually see what he did to fix it.
Same issue. @garrybodsworth It would be great if you elaborate a little bit more.