From 53344d31ee3a6cf7cb34034a89806142bf727f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?= <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de> Date: Sat, 13 Aug 2022 10:13:44 +0200 Subject: [PATCH] Show link to status page in event edit view --- AKModel/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/AKModel/admin.py b/AKModel/admin.py index 9c7a410a..aed76211 100644 --- a/AKModel/admin.py +++ b/AKModel/admin.py @@ -35,6 +35,7 @@ class EventAdmin(admin.ModelAdmin): list_filter = ['active'] list_editable = ['active'] ordering = ['-start'] + readonly_fields = ['status_url'] def add_view(self, request, form_url='', extra_context=None): # Always use wizard to create new events (the built-in form wouldn't work anyways since the timezone cannot -- GitLab