aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-11 16:25:09 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-11 16:25:09 +0100
commita7afbfd090c3f059eeb0fe1573ca56f4c4cb9867 (patch)
tree280ed18c3e4121c95515d92e90d0fee715116fdd /pyblackbird_cc/resources/admin.py
parentb38e4abf1712cc69db6a164425a99e3cad6d138e (diff)
Some formatting changes and calming down ruff slightly
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/resources/admin.py7
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)