Re: form submission -> @login_required -> get form submission data

2007-11-03 Thread James Bennett
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

Re: form submission -> @login_required -> get form submission data

2007-11-03 Thread crybaby
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

form submission -> @login_required -> get form submission data

2007-11-02 Thread crybaby
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