Wednesday, March 24, 2021

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

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.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1142460f-954f-473c-9fa0-2537c4591dc2n%40googlegroups.com.

No comments:

Post a Comment