add pinned events

This commit is contained in:
2020-09-05 15:31:47 +00:00
parent 3dc6085396
commit 7a99e6d7fd
2 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class MyEventForm(MyPostForm):
model = Event
fields = [
'title', 'subtitle', 'tags', 'image', 'body', 'event_start', 'event_end',
'event_place', 'slug', 'author', 'public_date',
'event_place', 'slug', 'author', 'public_date', 'is_pinned',
]
widgets = {'body': CKEditorUploadingWidget(config_name='default')}