8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 20:03:11 +00:00

Update models.py

This commit is contained in:
chirac 2018-07-20 12:57:54 +02:00
parent 11a59ee553
commit 0bec40de58

View file

@ -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):