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

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

	fieldsets = [
					(None,		{'fields': ['category', 'title']}),
					('Meta',	{'fields': ['url', 'views']}),
				]

admin.site.register(Category)
admin.site.register(Page, PageAdmin)