from django.contrib import admin
from wolf.models import Category,Entry

class CategoryAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ['title']}
class EntryAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ['title']}
admin.site.register(Category, CategoryAdmin)
admin.site.register(Entry, EntryAdmin)