X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aac18e2d101a237381f92ff26557286e623a4a22..dd0510d0730e259a57e01b63b8b34a24b7cfdd4a:/apps/api/utils.py?ds=sidebyside diff --git a/apps/api/utils.py b/apps/api/utils.py index 37a89a29..19309ff6 100644 --- a/apps/api/utils.py +++ b/apps/api/utils.py @@ -35,7 +35,7 @@ def validate_form(formclass, source='GET'): def decorator(func): @wraps(func) - def decorated(self, request, * args, ** kwargs): + def decorated(self, request, *args, **kwargs): form = formclass(getattr(request, source), request.FILES) if not form.is_valid():