From 46f11648d902b22a177b878e35d6049a7a127ce7 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 14 May 2024 12:53:28 +0100 Subject: Can now upload to Spaces --- pyblackbird_cc/resources/admin.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pyblackbird_cc/resources/admin.py') 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 -- cgit v1.2.3