From ae179f1a159aa6e29d42b19b1afa59fd84d1f08e Mon Sep 17 00:00:00 2001 From: frdrckaman Date: Wed, 14 Aug 2024 22:55:48 +0300 Subject: [PATCH] update --- edcs_dashboard/templatetags/crf_dashboard_extras.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/edcs_dashboard/templatetags/crf_dashboard_extras.py b/edcs_dashboard/templatetags/crf_dashboard_extras.py index 8610f1c..702457a 100644 --- a/edcs_dashboard/templatetags/crf_dashboard_extras.py +++ b/edcs_dashboard/templatetags/crf_dashboard_extras.py @@ -47,7 +47,6 @@ def add_edit_crf(context, obj, gtype=None): icon = "glyphicon-pencil" btn = "btn-success" title = text + obj.verbose_name - print(subject_visit_data.id) href = next_url(obj.model_cls().admin_url(subject_visit_data.id), nxt) return dict(title=title, text=text, icon=icon, btn=btn, href=href) @@ -70,9 +69,6 @@ def edit_gentype_btn(context, obj, gtype=None): title = text + obj.verbose_name subject_visit = SubjectVisit.objects.get(appointment_id=appointment) - # subject_visit_data = django_apps.get_model("edcs_subject.genotypic").objects.get( - # subject_visit_id=subject_visit.id - # ) subject_visit_data = Genotypic.objects.get(id=obj.id) model_cls = django_apps.get_model("edcs_subject.genotypic")