Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 482
Fred Collins Avatar asked Jul 18 '11 22:07

Fred Collins


1 Answers

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>,)
like image 133
Alasdair Avatar answered Oct 04 '22 15:10

Alasdair