Facing Error: autocomplete_view() got unexpected kwargs 'extra_context'

17 views
Skip to first unread message

ryohe

unread,
Mar 25, 2021, 9:28:07 AM3/25/21
to Django users
Dear all
Hello. 
I'm new to Django, and now I'm facing an error.
I use admin.site.urls with kwargs 'extra_context.' It works in any pages EXCEPT autocomplete.
Django outputs TypeError: 
autocomplete_view() got an unexpected keyword argument 'extra_context'

I checked scripts and found that only autocomplete_view does not accept extra_context.
Is this a bug?

Thank you in advance. 
Kind reagards.
Reply all
Reply to author
Forward
0 new messages