From 83e083267112360c780ceea59ecd34013ae376fe Mon Sep 17 00:00:00 2001 From: chirac Date: Fri, 31 Aug 2018 13:37:08 +0200 Subject: [PATCH] Que en anglais docstring models.py --- users/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/users/models.py b/users/models.py index 9c4f5f4e..41090ab1 100755 --- a/users/models.py +++ b/users/models.py @@ -334,8 +334,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser, return self.state == self.STATE_ACTIVE or self.state == self.STATE_NOT_YET_ACTIVE def set_active(self): - """Enable this user if he subscribed successfully one time before - Active l'utilisateur définitivement si il a adhéré au moins une fois""" + """Enable this user if he subscribed successfully one time before""" if self.state == self.STATE_NOT_YET_ACTIVE: if self.facture_set.filter(valid=True).filter(Q(vente__type_cotisation='All') | Q(vente__type_cotisation='Adhesion')).exists(): self.state = self.STATE_ACTIVE