How to properly configure internal ip for django-debug-toolbar

The first time I am editing a setting.pyfile in google cloud computing, please forgive me for this stupid question ...

I wanted to run django-debug-toolbarand follow every step in this tutorial. And I want the toolbar to be visible only in ( our office).

So, I just put ours public addressin INTERNAL_IPSlike INTERNAL_IPS = ('182.74.xx.xx',), and I did restartstart the server. but the toolbar is not visible. If changed to 127.0.0.1, the toolbar will reappear

+4
source share
1 answer

. restart . , nginx, ...

IP- Ip address, .

+1

Source: https://habr.com/ru/post/1570449/


All Articles