diff --git a/admin_honeypot/views.py b/admin_honeypot/views.py index 15c62ab..fecb484 100755 --- a/admin_honeypot/views.py +++ b/admin_honeypot/views.py @@ -56,7 +56,7 @@ def track_ipaddres(self, ip): return None, if `ALLOW_TRACK_ADDRESS = False` or invalid ipaddress. related issue: https://github.com/dmpayton/django-admin-honeypot/issues/41 """ - if ALLOW_TRACK_ADDRESS == False: + if ALLOW_TRACK_ADDRESS is False: return None try: