Closed eamigo86 closed 6 years ago
@eamigo86 Hi and thanks! :)
The Debug Toolbar is shown only if your IP is listed in the INTERNAL_IPS
setting. (You can change this logic with the SHOW_TOOLBAR_CALLBACK
option.)
https://django-debug-toolbar.readthedocs.io/en/stable/installation.html#internal-ips
INTERNAL_IPS = ['127.0.0.1', '...']
running docker containers...
import socket
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS += [ip[:-1] + '1' for ip in ips]
Hi @mongkok and thanks. It works perfectly !!!!
Hi, thanks for this packages. I am interested in using this module in my developments, but I can not show the Debug-Toolbar bar. I follow your explication to setup it, but I can not do it.
I'm using Django 2.1 and python 3.6 I do not know if it has to do with the limitation of the package.