On Thu, Jul 16, 2009 at 2:58 PM, Jumpfroggy<[email protected]> wrote:
>
> Currently, the @login_required() decorator does not preserve any #hash
> part of the URL.  So if I go to /page#section1 without being logged
> in, I'm redirected to /login?next=/page#section1.  After logging in,
> I'm redirected to /page (without the hash part).

> Does anyone else have ideas of how to do something like this?  Thanks!

maybe urlencode()'ing the '/page#section1' parameter?

-- 
Javier

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