One question, three correct and differnt answers!

You could have a look at sys.argv

  Thomas

ringemup schrieb:
> 
> Oh, I wasn't asking about what physical server or what host the site
> is running on.  I was hoping someone could tell me a way to determine
> at runtime whether it's running off the Django development server
> (manage.py runserver) as opposed to Apache et al.


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to