Re: post data and @login_required

2008-11-06 Thread James Bennett

On Thu, Nov 6, 2008 at 5:12 AM, coan <[EMAIL PROTECTED]> wrote:
> Why isn't there an option to have the request object passed to the
> login form?

The login view in the Django admin actually used to do this; see our
most recent security-oriented release for the reasons why it doesn't
do that anymore...


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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



post data and @login_required

2008-11-06 Thread coan

I tried to use the @login_required decorator on a view that takes post
data.

Why isn't there an option to have the request object passed to the
login form?
Then it would be possible to have the loginform pass the post data to
the view that depends on it.

Does anyone have any clever workarounds for passing off post data to
views that require login?





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