diff options
author | Alban Gruin | 2017-03-26 18:27:54 +0200 |
---|---|---|
committer | Alban Gruin | 2017-03-26 18:27:54 +0200 |
commit | f9760bc6dbbd568ed57c8eace17beb0eaa05ce2b (patch) | |
tree | 777f9c56505e5e6e45c3d9e5f4af24a175e25643 | |
parent | 3b33b8bde368980039c0b5c9e7aa6df05063afb2 (diff) | |
parent | 7a470357a430a61fd61e5601fd2dde37f13bc646 (diff) |
Merge branch 'stable/0.7.z' into prod/pa1ch/0.7.zv0.7.3-pa1chprod/pa1ch/0.7.z
-rw-r--r-- | models.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -83,11 +83,12 @@ class Group(models.Model): return self.name def save(self, *args, **kwargs): - self.mention, self.subgroup, self.td, self.tp = parse_group(self.celcat_name) if self.name == "": self.name = self.celcat_name self.slug = slugify(self.name) - super(Group, self).save() + + self.mention, self.subgroup, self.td, self.tp = parse_group(self.name) + super(Group, self).save() class Meta: |