Skip to content

Commit

Permalink
debug_toolbar always appear
Browse files Browse the repository at this point in the history
  • Loading branch information
amyasnikov committed Nov 22, 2023
1 parent f430962 commit 0e59799
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions development/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@

PLUGINS_CONFIG = {"validity": {"store_last_results": 5, "git_folder": "/opt/git_repos/", "autocopy_scripts": True}}


# for debug toolbar
_, _, _ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS += tuple(ip[: ip.rfind(".")] + ".1" for ip in _ips)
class ContainsAll:
def __contains__(self, v):
return True

INTERNAL_IPS = ContainsAll()

0 comments on commit 0e59799

Please sign in to comment.