Merge pull request #8353 from edx/clintonb/disable-csrf-checkout-cancel

Disabled CSRF Validation for checkout cancel page
This commit is contained in:
Clinton Blackburn
2015-06-03 20:35:22 -04:00

View File

@@ -136,6 +136,7 @@ class BasketsView(APIView):
return InternalRequestErrorResponse(ex.message)
@csrf_exempt
@cache_page(1800)
def checkout_cancel(_request):
""" Checkout/payment cancellation view. """