Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
display current INTERNAL_IPS
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Mar 25, 2015
1 parent 5f3f4c4 commit 6dbcb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylucid_debug/debug_toolbar_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def show_toolbar(request):
"""
ip = request.META.get('REMOTE_ADDR', None)
if ip not in settings.INTERNAL_IPS:
print("REMOTE_ADDR: %r not in settings.INTERNAL_IPS!" % ip)
print("REMOTE_ADDR: %r not in settings.INTERNAL_IPS: %r !" % (ip,settings.INTERNAL_IPS))

return origin_show_toolbar(request)

0 comments on commit 6dbcb7c

Please sign in to comment.