comparison tox.ini @ 5262:b41bdfdb3b16

AuthSettingsController: refactor rendering Instead of having one controller method ('auth_settings', which handles POST) call another controller method ('index', which handles GET), have both methods call a third, common '__render' method. This makes it clear which arguments 'index' really takes (none). It's also seen that the 'prefix_error' argument is always False, so it can be removed. Finally, '__load_defaults' is no longer called twice when POSTing invalid form values.
author Søren Løvborg <kwi@kwi.dk>
date Tue, 14 Jul 2015 13:59:59 +0200
parents 8c1258f69892
children 768989c595aa
comparison
equal deleted inserted replaced
5261:46011fe63e75 5262:b41bdfdb3b16