diff options
author | Andrew Godwin | 2022-11-27 17:16:09 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-27 17:16:09 -0700 |
commit | 0221ea261fe32b30d441ea10ea39256c0f9b82e3 (patch) | |
tree | 69ed72c027d8fac60c952c20beb353e71af23dbd /stator | |
parent | 3b079526a2ea78b68555094ca498faea31022759 (diff) | |
download | takahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.tar.gz takahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.tar.bz2 takahe-0221ea261fe32b30d441ea10ea39256c0f9b82e3.zip |
Admin tweaks
Diffstat (limited to 'stator')
-rw-r--r-- | stator/admin.py | 3 |
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 |