summaryrefslogtreecommitdiffstats
path: root/stator
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-27 17:16:09 -0700
committerAndrew Godwin2022-11-27 17:16:09 -0700
commit0221ea261fe32b30d441ea10ea39256c0f9b82e3 (patch)
tree69ed72c027d8fac60c952c20beb353e71af23dbd /stator
parent3b079526a2ea78b68555094ca498faea31022759 (diff)
downloadtakahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.tar.gz
takahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.tar.bz2
takahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.zip
Admin tweaks
Diffstat (limited to 'stator')
-rw-r--r--stator/admin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/stator/admin.py b/stator/admin.py
index 790fc38..7d2b0aa 100644
--- a/stator/admin.py
+++ b/stator/admin.py
@@ -14,3 +14,6 @@ class DomainAdmin(admin.ModelAdmin):
"error",
]
ordering = ["-date"]
+
+ def has_add_permission(self, request, obj=None):
+ return False