On 11/2/07, crybaby <[EMAIL PROTECTED]> wrote:
> I want to display the form even when the user is not logged in, but
> want to allow them to do form submission. So when they post the data,
> @login_required decorator is called on one of the view functions. Now
> user logs in and I want the
I guess you have to use session to store the data, check if user is
authenticated inside the view, if not redirect to login page. Also set
the hidden input type so that after the logging in, it will be routed
back to the original view.
--~--~-~--~~~---~--~~
You
I want to display the form even when the user is not logged in, but
want to allow them to do form submission. So when they post the data,
@login_required decorator is called on one of the view functions. Now
user logs in and I want the earlier post data (form submission) to be
passed to the
3 matches
Mail list logo