Make job relaunch dispatch csrf exempt

This commit is contained in:
Matthew Jones 2014-09-12 11:10:52 -04:00
parent 5fe3ee3bf4
commit 28e7fda956

View File

@ -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)