tow wrote:
> I know it uses whatever I specified. What I'm asking is, inside the
> django process, is it possible to find out what I specified?
> 
> ie, if I did "./manage.py runserver" - how do I find out, from a view
> inside the django process, that I'm running on localhost:8000?
> 
> if I did './manage.py runserver other.ip.address:9999", how do I find
> out, from a view inside the django process, that I'm running on
> some.other.ip.address:9999?
> 
> Clearly I know what I did, I'm wondering if I can get a view inside
> the django process to know what I did.

You could probably just read it from sys.argv ;)

/Christian

-- 
Christian Joergensen
http://www.technobabble.dk

--~--~---------~--~----~------------~-------~--~----~
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