summaryrefslogtreecommitdiffstats
path: root/stator
diff options
context:
space:
mode:
authorMichael Manfre2022-12-08 12:29:51 -0500
committerGitHub2022-12-08 10:29:51 -0700
commita576c5b5ed716b8068c02914fd47f38473610590 (patch)
tree001448f79005826bb7609d1568d9e89b6f675371 /stator
parent08dae900b72e7fdad56cd8d2a7a75422f289e993 (diff)
downloadtakahe-a576c5b5ed716b8068c02914fd47f38473610590.tar.gz
takahe-a576c5b5ed716b8068c02914fd47f38473610590.tar.bz2
takahe-a576c5b5ed716b8068c02914fd47f38473610590.zip
Improve djadmin filtering and search (#149)
Diffstat (limited to 'stator')
-rw-r--r--stator/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/stator/admin.py b/stator/admin.py
index 7d2b0aa..2d001ea 100644
--- a/stator/admin.py
+++ b/stator/admin.py
@@ -13,6 +13,7 @@ class DomainAdmin(admin.ModelAdmin):
"state",
"error",
]
+ list_filter = ["model_label", "date"]
ordering = ["-date"]
def has_add_permission(self, request, obj=None):