Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
re2o
Commits
0bec40de
Commit
0bec40de
authored
Jul 20, 2018
by
chirac
Browse files
Update models.py
parent
11a59ee5
Changes
1
Hide whitespace changes
Inline
Side-by-side
users/models.py
View file @
0bec40de
...
...
@@ -479,11 +479,11 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
interface
.
save
()
def
archive
(
self
):
"""
Archive l'user
"""
"""
Filling the user; no more active
"""
self
.
unassign_ips
()
def
unarchive
(
self
):
"""
Désarchive l'
user"""
"""
Unfilling the
user"""
self
.
assign_ips
()
def
state_sync
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment