mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #3227 from ryanpetrello/fix-migration-tran-view
fix `/migrations_notran` Reviewed-by: awxbot https://github.com/awxbot
This commit is contained in:
commit
06ff26752a
@ -64,6 +64,7 @@ class AWXWSGIHandler(WSGIHandler):
|
||||
# "normal" middleware
|
||||
if getattr(resolve(request.path), 'url_name', '') == 'migrations_notran':
|
||||
# short-circuit middleware
|
||||
request._cors_enabled = False
|
||||
return self._get_response(request)
|
||||
except django.urls.Resolver404:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user