X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aac18e2d101a237381f92ff26557286e623a4a22..7a12b550f4a8366c8ace2f9c55706aba7c4b17f7:/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():