Private
Public Access
1
0

furhter cleaning up tests

This commit is contained in:
Sander Roosendaal
2021-04-15 08:33:00 +02:00
parent 15cc8bebb6
commit ce5ec9a632
3 changed files with 149 additions and 62 deletions

View File

@@ -1111,7 +1111,7 @@ def strfdelta(tdelta):
def request_is_ajax(request):
is_ajax = request.META.get('HTTP_X_REQUESTED_WITH') == 'XMLHttpRequest'
if settings.TESTING:
is_ajax = True
#if settings.TESTING:
# is_ajax = True
return is_ajax