sandro.dentella wrote:
> Hi all,
> 
>   how can I test from within settings.py if I'm running via mod_python
> or in standalone way? I need to set a variable, accordingly.
> 

what do you mean by "standalone"?

using the development server?

btw. wouldn't the DEBUG variable help you?

simply set it to False on the live system (i assume the mod_python one),
and to True on the devel system...

gabor

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to