added external URL field to sponsor application form

This commit is contained in:
James Tauber 2012-11-06 13:13:51 -05:00
parent 6c8f727ef2
commit 72f2c06010

View file

@ -19,7 +19,13 @@ class SponsorApplicationForm(forms.ModelForm):
class Meta:
model = Sponsor
fields = ["name", "contact_name", "contact_email", "level"]
fields = [
"name",
"external_url",
"contact_name",
"contact_email",
"level"
]
def save(self, commit=True):
obj = super(SponsorApplicationForm, self).save(commit=False)