removed useless lines
This commit is contained in:
1 parent
e943a69233
commit
686b5126d9
1 file changed
-3
@@ -75,10 +75,7 @@ class Maraudeur(Professionnel):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
create = False
|
|
||||||
if not self.pk or not self.username or not self.email:
|
if not self.pk or not self.username or not self.email:
|
||||||
create = True
|
|
||||||
if create:
|
|
||||||
self._fill_fields()
|
self._fill_fields()
|
||||||
self.is_staff = True
|
self.is_staff = True
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user