8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 01:13:46 +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()
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):