From b136779b0056594143ebc686b633e1c9517ab12c Mon Sep 17 00:00:00 2001 From: komalsheth286 Date: Thu, 6 Oct 2016 15:22:34 +0530 Subject: Fetching email id using facebook login --- website/forms.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'website/forms.py') 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 -- cgit