Skip to content Skip to sidebar Skip to footer

Django Filter_horizontal Can't Display

Here is model: author=models.ManyToManyField(Author) modelAdmin: filter_horizontal=('author',) It's still rendering a multiple select widget. I don't know what's the problem. Djang

Solution 1:

I think it's too late to answer; however, I ran into the same problem while reading django-core book which I think might be the source of your question:

simply open the admin panel in incognito mode or in another browser, you can also get rid of the problem by removing cached content from your browser. I think the problem might stem from javascript incomplete loading for the first time prior to the changes you made. However; opening it in incognito-private mode solved the problem for me.

Post a Comment for "Django Filter_horizontal Can't Display"