Skip to content
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

Simplification de update_admin_role pour suivre deactivate_membership #5522

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

francoisfreitag
Copy link
Contributor

🤔 Pourquoi ?

Du code plus simple et plus évolutif.

If the membership to update cannot be found, use the standard status
code 404. Also allows using django shortcuts.
In order to make the code easier to follow, the helper directly returns
an HttpResponse, instead of turning boolean into responses.
Copy link
Contributor

@tonial tonial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chouette nettoyage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Ne doit pas figurer dans le journal des changements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants