Ticket #8808: wizard_parse_params_shortcut.patch
File wizard_parse_params_shortcut.patch, 917 bytes (added by , 16 years ago) |
---|
-
wizard.py
52 52 if 'extra_context' in kwargs: 53 53 self.extra_context.update(kwargs['extra_context']) 54 54 current_step = self.determine_step(request, *args, **kwargs) 55 self.parse_params(request, *args, **kwargs) 55 return_value = self.parse_params(request, *args, **kwargs) 56 if return_value is not None: 57 return return_value 56 58 57 59 # Sanity check. 58 60 if current_step >= self.num_steps(): … … 169 171 *args and **kwargs were passed to __call__(), sets some state. 170 172 171 173 This is called at the beginning of __call__(). 174 175 When returning anything but None in this method the request is 176 cut short and the return value of this method is used. 172 177 """ 173 178 pass 174 179