text: from django.contrib import admin
  from groove.models import Category, Page
  
  class CategoryAdmin(admin.ModelAdmin):
      prepopulated_fields = {'slug':('name',)}
  
  class PageAdmin(admin.ModelAdmin):
      list_display = ('title','category','url')
  
  admin.site.register(Category, CategoryAdmin)
  admin.site.register(Page, PageAdmin)
  
  
  