Missing return cleaned_data in ReputationForm.clean(). But in django 1.2 it work %)
This commit is contained in:
parent
59861ae824
commit
9b538de6f6
1 changed files with 2 additions and 0 deletions
|
@ -321,6 +321,8 @@ class ReputationForm(forms.ModelForm):
|
|||
pass
|
||||
else:
|
||||
raise forms.ValidationError(_('You already voted for this post'))
|
||||
return self.cleaned_data
|
||||
|
||||
|
||||
def save(self, commit=True):
|
||||
reputation = super(ReputationForm, self).save(commit=False)
|
||||
|
|
Reference in a new issue