def save(self, *args, **kwargs): name = '{0} {1} {2}'.format(self.seller, self.status, self.tracking) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): name = '{0} {1}'.format(self.type, self.value) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): name = '{0} {1}'.format(self.product, self.identifier) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): name = '{0} {1}'.format(self.carrier, self.number) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): name = '{0} {1}'.format(self.supplier, self.tracking) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): name = '{0}'.format(self.product) self.slug = slugify(name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): self.slug = slugify(self.name) models.Model.save(self, *args, **kwargs)
def save(self, *args, **kwargs): self.slug = slugify(self.default_slug()) super(SlugModel, self).save(*args, **kwargs)