diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-14 12:53:28 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-14 12:53:28 +0100 |
commit | 46f11648d902b22a177b878e35d6049a7a127ce7 (patch) | |
tree | f59f6630717bc9097c988a6d8d3eebe4ad548f1d /pyblackbird_cc/resources/admin.py | |
parent | b5e2c4b9a7aab20db6dd6072a01abd114e8e55de (diff) |
Can now upload to Spaces
Diffstat (limited to 'pyblackbird_cc/resources/admin.py')
-rw-r--r-- | pyblackbird_cc/resources/admin.py | 14 |
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 |