Django contrib admin redirection error on actions
|Reported by:||audirs2 [at] gmail.com||Owned by:||nobody|
|Severity:||Normal||Keywords:||redirect remote_auth_backend nginx|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by aaugustin)
When user remote user authentication backend and accessing django application via Nginx proxy on subdomain behind this proxy the admin interface does not redirect from admin actions correctly.
Settings below are applied:
Server is running mod_wsgi
accessing works ok.
When using an admin action to add/delete etc redirects badly.
E.g. on page url below you update some config and click add as the admin action, the underlying code carries out the action.
However when django redirects back to the apps list of objects it redirects badly to a url shown in the form below
It appears that the url resolution is using the domain with subdomain stripped and then as this is not the same full url it appends this url to the current one
Change History (3)
comment:1 follow-up: ↓ 2 Changed 22 months ago by audirs2 [at] gmail.com
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset