mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +00:00
Update models.py
This commit is contained in:
parent
11a59ee553
commit
0bec40de58
1 changed files with 2 additions and 2 deletions
|
@ -479,11 +479,11 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
|
||||||
interface.save()
|
interface.save()
|
||||||
|
|
||||||
def archive(self):
|
def archive(self):
|
||||||
""" Archive l'user"""
|
""" Filling the user; no more active"""
|
||||||
self.unassign_ips()
|
self.unassign_ips()
|
||||||
|
|
||||||
def unarchive(self):
|
def unarchive(self):
|
||||||
""" Désarchive l'user"""
|
"""Unfilling the user"""
|
||||||
self.assign_ips()
|
self.assign_ips()
|
||||||
|
|
||||||
def state_sync(self):
|
def state_sync(self):
|
||||||
|
|
Loading…
Reference in a new issue