aboutsummaryrefslogtreecommitdiff
path: root/apps/utils/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/utils/views.py')
-rw-r--r--apps/utils/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/utils/views.py b/apps/utils/views.py
index ec3a902..c752706 100644
--- a/apps/utils/views.py
+++ b/apps/utils/views.py
@@ -59,6 +59,8 @@ class AjaxableResponseMixin:
# We make sure to call the parent's form_valid() method because
# it might do some processing (in the case of CreateView, it will
# call form.save() for example).
+ print(self.request.META)
+ print('x request header', self.request.META['HTTP_X_REQUESTED_WITH'])
response = super().form_valid(form)
if self.request.is_ajax():
data = {