X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aac18e2d101a237381f92ff26557286e623a4a22..4a1d358fcc56a21796d35c8486e0ae6043220fd7:/apps/api/utils.py 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():