Hi,

The reason is because of the preceding "/" in your
HttpResponseRedirect.

You could try to redirect to "success/" or to "../success/" based on
which may be applicable to you.

Cheers

On Nov 1, 5:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi guys,
>
> I installed my app on a subdir of another site (just for staging).
>
> www.example.org/djangoapp
>
> Now my urls keep pointing back to the root of the other site, breaking
> navigation.
>
> So for example if i POST some form to
>
> www.example.org/djangoapp/subscribe/
>
> and then from there issue an HttpResponseRedirect('/success/')
> pretending to be redirected to
>
> www.example.org/djangoapp/success/
>
> i instead get redirected to
>
> www.example.org/success/
>
> What should i look into to fix this, without going through the code
> and changing all my redirects just for staging?
>
> Thanks,
> Lorenzo
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to