Commit 6d8aeb61 authored by chirac's avatar chirac

Update views.py

parent 0bec40de
......@@ -221,7 +221,7 @@ def edit_info(request, user, userid):
@login_required
@can_edit(User, 'state')
def state(request, user, userid):
""" Changer l'etat actif/desactivé/archivé d'un user"""
""" Change the state (active/unactive/archived) of a user"""
state_form = StateForm(request.POST or None, instance=user)
if state_form.is_valid():
if state_form.changed_data:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment