Commit 5b7e28a1 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Replace commit_on_success with commit_manually.

The callpoint takes care of committing.
parent 70a71ce7
......@@ -56,7 +56,7 @@ def _get_body(request):
callpoints = {('quotaholder', 'v'): API_Callpoint()}
@transaction.commit_on_success
@transaction.commit_manually
@csrf_exempt
def view(request, appname='quotaholder', version=None, callname=None):
if (appname, version) not in callpoints:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment