Hello,

I can't seem to access request.GET['next'] (from a URL with a query
string). Here's what I'm doing:
localhost:8000/dashboard/ points to dashboard() view but the dashboard()
view uses @login_required decorator. And so, if the user isn't logged in,
localhost:8000/dashboard/ redirects to localhost/login/?next=/dashboard/
(but I can't access request.GET info after login).

Here's my dashboard() view: http://dpaste.org/Z9dZX/ ... i.e. when
dashboard view is loaded after successful login (from
localhost/login/?next=/dashboard/), I see "You submitted an empty query
string.", when in fact I expect to see the request.GET data from the URL
query string.

Can anyone point out the error(s) in my code? I can provide other parts of
my code if you want.

Thanks a lot!

-- 
Amber Jain
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to