diff options
-rwxr-xr-x | scipy2016/settings.py | 7 | ||||
-rwxr-xr-x | website/forms.py | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/scipy2016/settings.py b/scipy2016/settings.py index d2a8745..2789139 100755 --- a/scipy2016/settings.py +++ b/scipy2016/settings.py @@ -161,10 +161,3 @@ LOGIN_REDIRECT_URL = '/2016/cfp' # smtp -ACCOUNT_ACTIVATION_DAYS = 7 -EMAIL_HOST = 'localhost' -EMAIL_PORT = 1025 -EMAIL_HOST_USER = '' -EMAIL_HOST_PASSWORD = '' -EMAIL_USE_TLS = False -DEFAULT_FROM_EMAIL = 'testing@example.com'
\ No newline at end of file diff --git a/website/forms.py b/website/forms.py index ed0fe90..d1dd2e6 100755 --- a/website/forms.py +++ b/website/forms.py @@ -70,6 +70,7 @@ class ProposalForm(forms.ModelForm): error_messages = {'required':'About me field required.'}, ) attachment = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True}), + label = 'Please upload relevant documents (if any)', required = False,) phone = forms.CharField(min_length = 10, max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)], # error_messages = {'required':'Title field required.'}, @@ -117,6 +118,7 @@ class WorkshopForm(forms.ModelForm): error_messages = {'required':'About Me field required.'}, ) attachment = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True}), + label = 'Please upload relevant documents (if any)', required = False,) phone = forms.CharField(min_length = 10, max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)], ) |