def save(self, *args, **kwargs): auto_save_current_user(self) if not self.slug: self.slug = slugify(self.title) else: self.slug = slugify(self.slug) super(ResourceCategory, self).save(*args, **kwargs)
def save(self, *args, **kwargs): auto_save_current_user(self) super(Resource, self).save(*args, **kwargs)
def save(self, *args, **kwargs): auto_save_current_user(self) super(Comment, self).save(*args, **kwargs)
def save(self, *args, **kwargs): auto_save_current_user(self) super(Follow, self).save(*args, **kwargs)
def save(self, *args, **kwargs): auto_save_current_user(self) super(SavedPost, self).save(*args, **kwargs)