From befd3e81321e0f5989d68a6838b4a17af51b1e64 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 22 May 2024 16:39:06 +0100 Subject: wip: starting to test the featured resource view --- pyblackbird_cc/resources/views.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyblackbird_cc/resources/views.py') diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index bc55842..9fcb77b 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -42,6 +42,11 @@ class ResourceInfo: updated: str +@login_required +def create_featured(request): + return render(request, "resources/create_featured_resource.html") + + def _extract_metadata_from_resource(resource_obj) -> ResourceInfo | None: """ This function extracts the resource information from the model object and returns it as a -- cgit v1.2.3