-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Répétition inutile dans le code #3394
Comments
Pourrais-tu expliquer la répétition inutile dans le code ? |
je pense qu'il faudrait modifier cette condition en : form = LoginForm()
if next_page is not None: # if the user was visiting some page before the registration
form.helper.form_action += "?next=" + next_page Ce genre de chose peut tout à fiat se faire dans une microPR sans passer par un ticket. |
Exactement. Je sais, mais j'avais pas d'env de dev sous la main donc j'ai préféré poster ici pour ne pas l'oublier. |
Oh le joli code dupliqué! :-) |
Tu peux grouper avec ça #3309 ;) |
La ligne concernée https://github.com/zestedesavoir/zds-site/blob/dev/zds/member/views.py#L675
The text was updated successfully, but these errors were encountered: