From 6546f73b98c9c49287fc7c175716f2c368ad40ea Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 18 May 2024 03:25:10 +0100 Subject: [PATCH] Fully public... --- core/views/drugs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/drugs.py b/core/views/drugs.py index d867710..bea35c0 100644 --- a/core/views/drugs.py +++ b/core/views/drugs.py @@ -56,7 +56,7 @@ class DrugDelete(LoginRequiredMixin, StaffMemberRequiredMixin, ObjectDelete): model = Drug -class DrugDetail(LoginRequiredMixin, ObjectRead): +class DrugDetail(ObjectRead): model = Drug form_class = DrugForm detail_template = "partials/drug-detail.html"