Exemplo n.º 1
0
 def akismet_check(self):
     fields = {}
     for key, value in self.akismet_fields.items():
         fields[key] = self.cleaned_data[value]
     return utils.akismet_check(self._request,
                                akismet_api_key=self.akismet_api_key,
                                **fields)
Exemplo n.º 2
0
 def akismet_check(self):
     fields = {}
     for key, value in self.akismet_fields.items():
         fields[key] = self.cleaned_data[value]
     return utils.akismet_check(self._request,
                                akismet_api_key=self.akismet_api_key,
                                **fields)