Hi folks!
In my model, I want to use the domain name (HOST) I'm using in my views. In views that'd be doable, thanks to the "request" object. But how do I do this models methods? Which don't use "HttpRequest" objects?
Now I'm setting a global value HOST in settings.py and using it, but that's ugly.
Also, I don't really want to manage "Sites" (the Sites app) — Is there a way, I can grab the "by default" Site Host name?
Thanks a lot for your help! (and sorry for my poor English)