This repository was archived by the owner on Apr 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -178,12 +178,12 @@ def update_speakers(request, talk_uuid):
178
178
if not conf .cfp ():
179
179
return HttpResponseForbidden ()
180
180
181
- speaker_form = AddSpeakerToTalkForm (
181
+ speaker_form = UpdateAttendeeProfile (
182
182
initial = extract_initial_speaker_data_from_user (request .user )
183
183
)
184
184
185
185
if request .method == 'POST' :
186
- speaker_form = AddSpeakerToTalkForm (request .POST )
186
+ speaker_form = UpdateAttendeeProfile (request .POST )
187
187
if speaker_form .is_valid ():
188
188
with transaction .atomic ():
189
189
save_information_from_speaker_form (
@@ -371,6 +371,10 @@ class Meta:
371
371
]
372
372
373
373
374
+ class UpdateAttendeeProfile (AddSpeakerToTalkForm ):
375
+ pass
376
+
377
+
374
378
class ProposalForm (forms .ModelForm ):
375
379
376
380
type = forms .ChoiceField (
Original file line number Diff line number Diff line change 2
2
3
3
{% load crispy_forms_tags static %}
4
4
5
- {% block morecss %}
6
- < link href ="{% static "taggit_labels /css/taggit_labels.css" %}" type="text/css " media ="all " rel ="stylesheet " />
7
- {% endblock %}
8
-
9
- {% block morejs %}
10
- < script src ="{% static "/js/taggit_labels_customised_with_max_number_of_tags.js" %}"> </ script >
11
- {% endblock %}
12
-
13
5
14
6
{% block content %}
15
-
16
7
< div class ="container page " id ="cfp_page ">
17
8
< div class ="row ">
18
9
< div class ="col-md-12 ">
You can’t perform that action at this time.
0 commit comments