Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 283 Bytes
class ${1:ModelnameForm}(forms.ModelForm):
$0
${3:def clean_${4:fieldname}(self):
$5
return self.cleaned_data['$4']}
${6:def clean(self):
${7:}
return self.cleaned_data}
${8:def save(self):
super($1, self).save()
${9:}}