On Jan 18, 9:39 am, ptone <[email protected]> wrote:
> In the tutorial, the form action in the poll_detail template is
> hardcoded to "/polls/..."
>
> So the browser is doing what's been explicitly asked of it, despite
> Django doing its best to deal gracefully with your mounting the app
> at /mysite.

The same thing happens with Apache and mod_python.  Mod_python has the
django.root setting, which the documentation only says it uses to
strip the leading path (/mysite) out of URIs.  Perhaps the reverse()
function isn't looking at that to put the path back into the URIs.
I'm still new, so I'm not sure how to properly do this...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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