{{{
from django.apps import AppConfig
from django.urls import reverse
class Test002Config(AppConfig):
name = 'test002'
def ready(self):
try:
url = reverse("admin:auth__user__changelist")
print(url)
# reverse raise errors
except Exception as error:
pass
# the admin site broken even we try...catch.. here
# the admin site can login, but got error in admin index page
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32167>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "test001.zip" added.
Example code, and the screen shot of error page.
* status: new => closed
* resolution: => invalid
Comment:
Please don't use Trac as a support channel. Also, there is a typo in your
example, it should be `admin:auth_user_changelist`.
Closing per TicketClosingReasons/UseSupportChannels.
--
Ticket URL: <https://code.djangoproject.com/ticket/32167#comment:1>