Add a comment to emphasise why we shouldn't break the HomepageForm.

(imported from commit 1b4d59e0c868e8350d2a9eb46cdfdaed1f34e69f)
This commit is contained in:
Luke Faraone
2013-04-23 14:46:35 -07:00
parent c48ff1784c
commit b9fe130107

View File

@@ -46,6 +46,8 @@ class ToSForm(forms.Form):
terms = forms.BooleanField(required=True)
class HomepageForm(forms.Form):
# This form is sort of important, because it determines whether users
# can register for our product. Be careful when modifying the validators.
if settings.ALLOW_REGISTER:
email = forms.EmailField()
else: