aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-14 12:53:28 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-14 12:53:28 +0100
commit46f11648d902b22a177b878e35d6049a7a127ce7 (patch)
treef59f6630717bc9097c988a6d8d3eebe4ad548f1d /pyblackbird_cc/resources/admin.py
parentb5e2c4b9a7aab20db6dd6072a01abd114e8e55de (diff)
Can now upload to Spaces
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/resources/admin.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/admin.py b/pyblackbird_cc/resources/admin.py
index 846f6b4..1140c35 100644
--- a/pyblackbird_cc/resources/admin.py
+++ b/pyblackbird_cc/resources/admin.py
@@ -1 +1,15 @@
# Register your models here.
+from django.contrib import admin
+
+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