furhter cleaning up tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user