SyntaxFix
Write A Post
Hire A Developer
Questions
I'm using Django 1.7
Create a SlugField in your model like this:
slug = models.SlugField()
Then in admin.py define prepopulated_fields;
admin.py
prepopulated_fields
class ArticleAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("title",)}