on Admin
create a slug = models.SlugField(max_length = 200) in model
class ClientAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('name',)} admin.site.register(Client, ClientAdmin)
or
class test(models.Model): q = models.CharField(max_length=30) s = models.SlugField(editable=False) # hide from admin def save(self): if not self.id: self.s = slugify(self.q) super(test, self).save()