Fix clened_data typos in forms.py.

This is where linters shine. Either pylint or pyflake discovered these
typos and even suggested the correct name.
This commit is contained in:
David Martin 2017-05-21 17:05:49 +10:00
parent 731942d855
commit 0090128249

View File

@ -84,7 +84,7 @@ class UploadForm(forms.Form):
def clean(self): def clean(self):
corresp = self.clened_data.get("correspondent") corresp = self.cleaned_data.get("correspondent")
title = self.cleaned_data.get("title") title = self.cleaned_data.get("title")
signature = self.cleaned_data.get("signature") signature = self.cleaned_data.get("signature")
@ -100,7 +100,7 @@ class UploadForm(forms.Form):
form do that as well. Think of it as a poor-man's queue server. form do that as well. Think of it as a poor-man's queue server.
""" """
correspondent = self.clened_data.get("correspondent") correspondent = self.cleaned_data.get("correspondent")
title = self.cleaned_data.get("title") title = self.cleaned_data.get("title")
document = self.cleaned_data.get("document") document = self.cleaned_data.get("document")