mirror of https://github.com/snachodog/mybuddy.git
modify pumping api filter to start/end
This commit is contained in:
parent
7918b9aca8
commit
b0e5a7ad1b
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue