Change csrf imports and database settings for django 1.4
[htsworkflow.git] / htsworkflow / frontend / experiments / experiments.py
index 1ccba526adb75272273985c0095db2361e09d40f..f24d13d5b8dc3e830b2b3c1548251886ec7f1299 100644 (file)
@@ -9,7 +9,7 @@ import os
 import re
 
 from django.contrib.auth.decorators import login_required
-from django.contrib.csrf.middleware import csrf_exempt
+from django.views.decorators.csrf import csrf_exempt
 from django.core.exceptions import ObjectDoesNotExist
 from django.core.mail import send_mail, mail_admins
 from django.http import HttpResponse, Http404