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:
1 parent
98e0971c4b
commit
4e9f0f3c88
9 files changed
+82
-24
No files matched your search
@@ -117,7 +117,7 @@ class InterventionTableFilter(django_filters.FilterSet):
|
||||
"""
|
||||
if not value:
|
||||
return queryset.filter(
|
||||
recorded_on=None,
|
||||
recorded=None,
|
||||
)
|
||||
else:
|
||||
return queryset
|
||||
Reference in new issue
Block a user