diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-22 16:39:06 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-22 16:39:19 +0100 |
commit | befd3e81321e0f5989d68a6838b4a17af51b1e64 (patch) | |
tree | bf59889e587bca347dbc3807004b19c4a69ecfb6 /pyblackbird_cc/resources/views.py | |
parent | ff1aa3aa113e507f870eba4c96099946f154fb22 (diff) |
wip: starting to test the featured resource view
Diffstat (limited to 'pyblackbird_cc/resources/views.py')
-rw-r--r-- | pyblackbird_cc/resources/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |