Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (6 sloc) 0.26 kb
from django.contrib import admin
from djangovoice.models import Feedback, Status, Type
class SlugFieldAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("title",)}
admin.site.register(Feedback)
admin.site.register([Status, Type], SlugFieldAdmin)
Jump to Line
Something went wrong with that request. Please try again.