Re: change the DEBUG in settings.py base on the remoteaddr

2008-11-05 Thread Ronny Haryanto
On Wed, Nov 5, 2008 at 5:41 PM, kele <[EMAIL PROTECTED]> wrote: > > the debug flag in settings.py . > > what i want to do is to only change the DEBUG varialbe to True when > just the specific remote address( ip) to send the request . > cause i do not hope all my users can read the err msg while i

change the DEBUG in settings.py base on the remoteaddr

2008-11-05 Thread kele
the debug flag in settings.py . what i want to do is to only change the DEBUG varialbe to True when just the specific remote address( ip) to send the request . cause i do not hope all my users can read the err msg while i am coding . something like this : if remoteAdd == 192.168.0.1 :