From 61293f90a673e8ab72576e98e9ee1861254fa008 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 14 Oct 2024 10:38:39 +0100 Subject: [PATCH] . --- anatomy/tables.py | 1 + generic/forms.py | 1 + 2 files changed, 2 insertions(+) diff --git a/anatomy/tables.py b/anatomy/tables.py index 6d00185f..8f246d43 100644 --- a/anatomy/tables.py +++ b/anatomy/tables.py @@ -47,6 +47,7 @@ class AnatomyQuestionTable(tables.Table): "author", ) sequence = ("view", "image", "exams") + order_by = "-created_date" def __init__(self, data=None, *args, **kwargs): super().__init__( diff --git a/generic/forms.py b/generic/forms.py index a9bf32d7..0eff30dd 100755 --- a/generic/forms.py +++ b/generic/forms.py @@ -137,6 +137,7 @@ class ExamFormMixin: "restrict_to_dates", "start_date", "end_date", + active=False, ) ), ),