From b0e5a7ad1b53fe5484631dd57ced75ae62514ba9 Mon Sep 17 00:00:00 2001 From: John Merlie Date: Sun, 2 Jul 2023 12:18:14 -0400 Subject: [PATCH] modify pumping api filter to start/end --- api/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/filters.py b/api/filters.py index f1b1bcf1..911918c6 100644 --- a/api/filters.py +++ b/api/filters.py @@ -81,8 +81,8 @@ class NoteFilter(TimeFieldFilter, TagsFieldFilter): model = models.Note -class PumpingFilter(TimeFieldFilter): - class Meta(TimeFieldFilter.Meta): +class PumpingFilter(StartEndFieldFilter): + class Meta(StartEndFieldFilter.Meta): model = models.Pumping