-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Description
asgiref 3.9.0 in conjunction with django-hosts 7.0.0 (their latest version) makes between 10% and 20% of requests to our admin host fail with
NoReverseMatch: 'admin' is not a registered namespace
These requests are calling something like reverse('admin:login')
, but the django-hosts configuration is the fallback one for their thread.
Reverting to asgiref 3.8.1 fixes the problem.
I suspect this code change, which uses a normal dictionary for thread-local access: 85d2445#r161477713
Metadata
Metadata
Assignees
Labels
No labels