summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkomalsheth2862016-11-16 13:56:41 +0530
committerkomalsheth2862016-11-16 13:56:41 +0530
commit52dbaedaf21c1f08df8ee2140cc44c07af924ed0 (patch)
treef811aa7953e6eaaf4842e0caf1052d544ee9d4cc
parentff764c34183f3a2ee619068a406737c640b249f2 (diff)
downloadSciPy2016-52dbaedaf21c1f08df8ee2140cc44c07af924ed0.tar.gz
SciPy2016-52dbaedaf21c1f08df8ee2140cc44c07af924ed0.tar.bz2
SciPy2016-52dbaedaf21c1f08df8ee2140cc44c07af924ed0.zip
Attachment Modification
-rwxr-xr-xscipy2016/settings.py7
-rwxr-xr-xwebsite/forms.py2
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',)],
)