简体   繁体   中英

Django debug toolbar on a remote server

I have just installed django debug toolbar locally to test my django app and it works great.

I've just committed and pushed with mercurial the new changes on my test remote server and I can't see the toolbar. The files are the same.

Why?

If DEBUG is True and you are not seeing the toolbar, then you probably need to add the IP address of the computer you are accessing the site from to INTERNAL_IPS in your settings.py file.

INTERNAL_IPS = (<your_ip_address>,)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM