Becuase I do not use django database at all my application currently
can't be deployed to a custom location different from "/" quite
simply. I use {% url ... %} template tags within templates and
django.core.urlresolvers.reverse to populate urls. The problem is that
if I deploy myapp under http://host:port/MYSAPCE/myapp and site_id is
not defined in db the url is not picking "MYSAPCE".
What I am trying to do now is to write my own site model (without
using django database) that would be used by urlresolver. I was
wondering if someone could point me how that should be done.
Thanks
Alex
--To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/IF09jV7YDwkJ.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.