diff options
-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: |