I'm developing a dynamic admin panel URL in Django.
For example, the URL is a 32-character string that gets updated weekly.
The problem is, even after updating the URL, Django (or more precisely, Gunicorn) still serves the old URL unless the server is restarted.
This means I have to restart Gunicorn every time I change the admin URL.
Now, I want to change the admin panel URL without restarting Gunicorn.
Would using middleware solve this problem?
Or is there a better way to handle this?