Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] string-based redirections with flash attributes not working #146

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

xhaggi
Copy link
Collaborator

@xhaggi xhaggi commented Nov 19, 2024

To solve this issue, the special view name prefixes must be changed from htmx:redirect:/path, htmx:location:/path to redirect:htmx:/path, redirect:htmx:location:/path.

Fixes #144

@wimdeblauwe wimdeblauwe added this to the 3.6.1 milestone Nov 19, 2024
@wimdeblauwe wimdeblauwe merged commit 58cddcc into wimdeblauwe:main Nov 19, 2024
2 checks passed
@xhaggi xhaggi deleted the fix/string-based-redirects branch November 25, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

htmx:redirect:/path and new HtmxDirectView("/path") have different behaviour regarding RedirectAttributes
2 participants