from django.contrib import admin from models import * # from forms import ArticleForm class PageAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('title',)} # search_fields = ('title', 'synopsis',), # list_display = ('title', 'date',) admin.site.register(Page, PageAdmin)