Monday, August 16, 2021

Error: NoReverseMatch at

Hi All,

I have a customized/override "changelist_view.html" to display hierarchical data in Django admin panel.

The problem is that the default form to add the Model data throws below error when clicked the button "add category". Please refer to the attached screenshot.


NoReverseMatch at /admin/category/category/add/

Reverse for 'app_list' with keyword arguments '{'app_label': ''}' not found. 1 pattern(s) tried: ['admin/(?P<app_label>category|auth)/$']


If I remove the function "def changelist_view(self, request, extra_context={}):", the model starts appearing fine. Please refer to the screenshot below. But then I loose the functionality to display custom hierarchical data.


How can I still show the default form to add data to the model and override the  changelist_view.html" .

Appreciate any help in advance.


This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

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
To view this discussion on the web visit

No comments:

Post a Comment