Fix speakerproposal form to have email as not required (set to logged in user if not filled out)
This commit is contained in:
parent
f1da1f3599
commit
226fb37aa1
|
@ -13,6 +13,11 @@ class SpeakerProposalForm(forms.ModelForm):
|
||||||
The SpeakerProposalForm. Takes an EventType in __init__ and changes fields accordingly.
|
The SpeakerProposalForm. Takes an EventType in __init__ and changes fields accordingly.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
email = forms.EmailField(
|
||||||
|
required=False,
|
||||||
|
help_text="The email of the speaker (defaults to the logged in user if empty).",
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = SpeakerProposal
|
model = SpeakerProposal
|
||||||
fields = [
|
fields = [
|
||||||
|
|
Loading…
Reference in a new issue