Update for new transaction handling in newer django versions

This commit is contained in:
Magnus Hagander
2016-04-28 11:31:25 +02:00
parent f9924efb7b
commit 856dbd31a2
4 changed files with 4 additions and 8 deletions

View File

@ -121,7 +121,6 @@ def uploadftp(request):
# Purge it out of varnish so we start responding right away
varnish_purge("/ftp")
transaction.commit_unless_managed()
# Finally, indicate to the client that we're happy
return HttpResponse("OK", content_type="text/plain")