from django.contrib import admin
from rango.models import Category, Page, UserProfile

class PageAdmin(admin.ModelAdmin):
	list_display = ('title', 'category', 'url')

admin.site.register(Category)
admin.site.register(Page, PageAdmin) # ordered - must define PageAdmin first
admin.site.register(UserProfile)
