From ef0855fad3db753b04631357b6168c91bdf210e8 Mon Sep 17 00:00:00 2001 From: jar3b Date: Fri, 6 Jul 2018 19:53:05 +0300 Subject: [PATCH] Add logging 2 --- drf_uuid_auth/authentication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/drf_uuid_auth/authentication.py b/drf_uuid_auth/authentication.py index 660f304..3c315ef 100644 --- a/drf_uuid_auth/authentication.py +++ b/drf_uuid_auth/authentication.py @@ -9,6 +9,7 @@ from drf_uuid_auth.settings import api_settings class UuidAuthentication(BaseAuthentication): def authenticate(self, request): print(api_settings.AUTH_HEADER) + print(request.get_full_path(), request.META.get('REMOTE_ADDR', None)) header = request.META.get(api_settings.AUTH_HEADER.upper(), None) print(header) if header is None or header == "" or header == "-":