summaryrefslogtreecommitdiffstats
path: root/activities
diff options
context:
space:
mode:
Diffstat (limited to 'activities')
-rw-r--r--activities/admin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/activities/admin.py b/activities/admin.py
index e24304d..ba809a8 100644
--- a/activities/admin.py
+++ b/activities/admin.py
@@ -32,6 +32,12 @@ class PostAdmin(admin.ModelAdmin):
def object_json(self, instance):
return instance.to_ap()
+ def has_add_permission(self, request, obj=None):
+ """
+ Disables admin creation of posts as it will skip steps
+ """
+ return False
+
@admin.register(TimelineEvent)
class TimelineEventAdmin(admin.ModelAdmin):