Intervention model refactoring
* adds UserActionLogEntry model to user/models.py * wraps user and timestamp info * can be extended for more information in the future * refactors all filtering and accessing on values
This commit is contained in:
@@ -31,7 +31,7 @@ class CompensationTableFilter(InterventionTableFilter):
|
||||
"""
|
||||
if not value:
|
||||
return queryset.filter(
|
||||
intervention__recorded_on=None,
|
||||
intervention__recorded=None,
|
||||
)
|
||||
else:
|
||||
return queryset
|
||||
|
||||
Reference in New Issue
Block a user