~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to mainpage/forms.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
from wlprofile.models import Profile as wlprofile
8
8
 
9
9
# Overwritten form to include a captcha
 
10
 
 
11
 
10
12
class RegistrationWithCaptchaForm(RegistrationForm):
11
13
    captcha = NoReCaptchaField()
12
14
 
13
 
    
14
15
 
15
16
class ContactForm(forms.Form):
16
17
    surname = forms.CharField(max_length=80)