Skip to content

Commit

Permalink
Removendo a variável form_data
Browse files Browse the repository at this point in the history
  • Loading branch information
allisson committed Jan 27, 2018
1 parent 1ae583d commit da1c80c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pagseguro/api.py
Expand Up @@ -39,8 +39,7 @@ def get_data(self):
}

def validate(self):
form_data = self.get_data()
form = self.form_class(form_data)
form = self.form_class(self.get_data())

if form.is_valid():
for k, v in form.cleaned_data.items():
Expand Down

0 comments on commit da1c80c

Please sign in to comment.