diff options
author | Komal Sheth | 2016-10-06 15:27:04 +0530 |
---|---|---|
committer | GitHub | 2016-10-06 15:27:04 +0530 |
commit | b60bbc2181f03ffd5fabc7781c8b8cbf3aa794c0 (patch) | |
tree | a051f97fc6786a45cb1194fdfd5930944b45d873 /website/forms.py | |
parent | 43d79cf73e0e89283ff5ba2e9b201ef1db464da2 (diff) | |
parent | b136779b0056594143ebc686b633e1c9517ab12c (diff) | |
download | SciPy2016-b60bbc2181f03ffd5fabc7781c8b8cbf3aa794c0.tar.gz SciPy2016-b60bbc2181f03ffd5fabc7781c8b8cbf3aa794c0.tar.bz2 SciPy2016-b60bbc2181f03ffd5fabc7781c8b8cbf3aa794c0.zip |
Merge pull request #25 from FOSSEE/Home_page
Fetching email id using facebook login
Diffstat (limited to 'website/forms.py')
-rwxr-xr-x | website/forms.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/website/forms.py b/website/forms.py index c8e4846..392d6e2 100755 --- a/website/forms.py +++ b/website/forms.py @@ -97,11 +97,6 @@ class ProposalForm(forms.ModelForm): model = Proposal exclude = ('user', 'email','prerequisite','status','rate') - def clean_title(self): - title = self.cleaned_data['title'] - if Proposal.objects.filter(title=title).exists(): - raise forms.ValidationError("This title already exist.") - return title def clean_attachment(self): import os |