Move from HTML templates to pure Python
Django CI/CD / test (push) Successful in 46s
Django CI/CD / build-and-push (push) Successful in 1m41s

This commit is contained in:
2026-06-06 07:11:46 +02:00
parent 09db54e940
commit 21af7cddd0
108 changed files with 2819 additions and 2576 deletions
+3 -3
View File
@@ -153,9 +153,9 @@ def redirect_to(default_view: str, *default_args):
next_url = reverse(default_view, args=default_args)
response = view_func(
request, *args, **kwargs
) # Execute the original view logic
# Execute the original view logic for its side effects, then
# redirect to `next_url` instead of returning its response.
view_func(request, *args, **kwargs)
return redirect(next_url)
return wrapped_view