why this error "you don't have permission to view or edit anything." when trying to access django admin custom page

why this error “you don’t have permission to view or edit anything.” when trying to access django admin custom page and I am logged in as super user

How have you customized the admin? What does your SiteAdmin and ModelAdmin classes look like? How have you customized your User object?

The more detailed information you can provide about how you have modified your system, the better chance we have of helping you identify what’s happening here.

Thank you Mr. KenWhitesell, I finally got a solution to this. i just included admin_site.each_context in my context dict and it is now working.