added external URL field to sponsor application form
This commit is contained in:
parent
6c8f727ef2
commit
72f2c06010
1 changed files with 7 additions and 1 deletions
|
@ -19,7 +19,13 @@ class SponsorApplicationForm(forms.ModelForm):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Sponsor
|
model = Sponsor
|
||||||
fields = ["name", "contact_name", "contact_email", "level"]
|
fields = [
|
||||||
|
"name",
|
||||||
|
"external_url",
|
||||||
|
"contact_name",
|
||||||
|
"contact_email",
|
||||||
|
"level"
|
||||||
|
]
|
||||||
|
|
||||||
def save(self, commit=True):
|
def save(self, commit=True):
|
||||||
obj = super(SponsorApplicationForm, self).save(commit=False)
|
obj = super(SponsorApplicationForm, self).save(commit=False)
|
||||||
|
|
Loading…
Reference in a new issue