aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-26 15:57:42 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-26 15:57:42 +0100
commitabd3d55662e8c39335f7d47d53bd107c51e985b8 (patch)
tree218f963031900782cf6ae74cc968b1e2811f03d5 /pyblackbird_cc/resources/views.py
parentd209dcbbcc36e65b8e16aca94add3f39de6414ef (diff)
Removes breakpoint
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/resources/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py
index 2bcb9c2..8eea5b3 100644
--- a/pyblackbird_cc/resources/views.py
+++ b/pyblackbird_cc/resources/views.py
@@ -114,7 +114,6 @@ def index(request):
resource_list = [_extract_metadata_from_resource(r) for r in resource_objs]
# featured_resources = Resource.objects.filter(feature_slot__gt=0).all()
featured_resources = [r for r in resource_list if r.feature_slot]
- breakpoint()
featured_resources = sorted(featured_resources, key=lambda resource: resource.feature_slot)
context = {"resource_list": resource_list, "featured_resources": featured_resources}
return render(request, "resources/resource_list.html", context)