diff options
Diffstat (limited to 'pyblackbird_cc/resources/admin.py')
-rw-r--r-- | pyblackbird_cc/resources/admin.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyblackbird_cc/resources/admin.py b/pyblackbird_cc/resources/admin.py index ac45efb..0aa0c68 100644 --- a/pyblackbird_cc/resources/admin.py +++ b/pyblackbird_cc/resources/admin.py @@ -1,8 +1,11 @@ # Register your models here. from django.contrib import admin -from pyblackbird_cc.resources.models import Resource, ResourceSubcategory, PDFPageSnapshot, PDFResource +from pyblackbird_cc.resources.models import PDFPageSnapshot +from pyblackbird_cc.resources.models import PDFResource +from pyblackbird_cc.resources.models import Resource from pyblackbird_cc.resources.models import ResourceCategory +from pyblackbird_cc.resources.models import ResourceSubcategory from pyblackbird_cc.resources.models import ResourceType @@ -18,7 +21,7 @@ class ResourceCategoryAdmin(admin.ModelAdmin): @admin.register(ResourceSubcategory) class ResourceSubcategoryAdmin(admin.ModelAdmin): - ordering = ['name'] + ordering = ["name"] @admin.register(Resource) |