Changes between Initial Version and Version 1 of Ticket #849


Ignore:
Timestamp:
Nov 20, 2005, 4:17:08 AM (18 years ago)
Author:
hugo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #849 – Description

    initial v1  
    1 This would allow accessing GET, POST or META stuff in the templates without the view function taking care of it. For example if using a login_required decorator, you could just put a {{{<input type="hidden" name="next" value="{{ request.path }}" />}}} into the login.html template and have it automatically redirect to the secured form. Currently you need to pass the 'next' parameter to the form itself and use that to build the next field.
     1This would allow accessing GET, POST or META stuff in the templates without the view function taking care of it. For example if using a login_required decorator, you could just put a {{{<input type="hidden" name="next" value="{{ request.path }}" />}}} into the login.html template and have it automatically redirect to the secured form. Currently you need to pass the 'next' parameter to the form itself and use that to build the next field. And it's currently impossible to pass on request parameters to the logged in page.
Back to Top