Skip to content
Snippets Groups Projects
Commit 50f75a8e authored by Nadja Geisler's avatar Nadja Geisler :sunny:
Browse files

Merge branch 'feature-event-status' into 'main'

Show link to status page in event edit view

See merge request !122
parents 42e58a8c 53344d31
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ class EventAdmin(admin.ModelAdmin): ...@@ -35,6 +35,7 @@ class EventAdmin(admin.ModelAdmin):
list_filter = ['active'] list_filter = ['active']
list_editable = ['active'] list_editable = ['active']
ordering = ['-start'] ordering = ['-start']
readonly_fields = ['status_url']
def add_view(self, request, form_url='', extra_context=None): 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 # Always use wizard to create new events (the built-in form wouldn't work anyways since the timezone cannot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment