# Register your models here. from django.contrib import admin from pyblackbird_cc.resources.models import Resource, ResourceSubcategory from pyblackbird_cc.resources.models import ResourceCategory from pyblackbird_cc.resources.models import ResourceType @admin.register(ResourceType) class ResourceTypeAdmin(admin.ModelAdmin): pass @admin.register(ResourceCategory) class ResourceCategoryAdmin(admin.ModelAdmin): pass @admin.register(ResourceSubcategory) class ResourceSubcategoryAdmin(admin.ModelAdmin): ordering = ['name'] @admin.register(Resource) class ResourceAdmin(admin.ModelAdmin): pass