[Answer]-Reverse URL of wrapped methods

1👍

Just name your urls – ie

('/param_select/$', session_check(param_select), {}, 'param_select'),

Then you can use

reverse('param_select')

Another idea would be to rewrite session_check as a decorator; django’s built in view decorators (i.e. permission_required) would make a good starting point.

👤Greg

Leave a comment