diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/admin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/admin.py b/users/admin.py index 0901307..7a54c52 100644 --- a/users/admin.py +++ b/users/admin.py @@ -44,6 +44,12 @@ class IdentityAdmin(admin.ModelAdmin): def actor_json(self, instance): return instance.to_ap() + def has_add_permission(self, request, obj=None): + """ + Disables admin creation of identities as it will skip steps + """ + return False + @admin.register(Follow) class FollowAdmin(admin.ModelAdmin): |