Fixed #62: General event settings are not displayed in settings form.
This commit is contained in:
parent
69befddc90
commit
c9b9eafbb2
@ -38,6 +38,10 @@ def get_general_config(request):
|
|||||||
else:
|
else:
|
||||||
form_event = EventConfigForm(initial={
|
form_event = EventConfigForm(initial={
|
||||||
'event_name': config_get('event_name'),
|
'event_name': config_get('event_name'),
|
||||||
|
'event_description': config_get('event_description'),
|
||||||
|
'event_date': config_get('event_date'),
|
||||||
|
'event_location': config_get('event_location'),
|
||||||
|
'event_organizer': config_get('event_organizer'),
|
||||||
}, prefix='event')
|
}, prefix='event')
|
||||||
return {
|
return {
|
||||||
'form_event': form_event,
|
'form_event': form_event,
|
||||||
|
Loading…
Reference in New Issue
Block a user