From 28e7fda956e2f42b1ddd2bacc4767c7f4e5a56ce Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Fri, 12 Sep 2014 11:10:52 -0400 Subject: [PATCH] Make job relaunch dispatch csrf exempt --- awx/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/api/views.py b/awx/api/views.py index 9b24664ff5..f9f26e660b 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1644,6 +1644,7 @@ class JobRelaunch(GenericAPIView): model = Job + @csrf_exempt @transaction.non_atomic_requests def dispatch(self, *args, **kwargs): return super(JobRelaunch, self).dispatch(*args, **kwargs)