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

postorius: fix urls for newer django #675

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Conversation

makinbacon21
Copy link
Contributor

path() no longer accepts regex paths; you must instead import and use re_path(). This was causing issues (among others) where the / to /postorius/lists would not work, and where /admin was instead /%5Eadmin. Django warning: 2_0.W001

Fixes #674

`path()` no longer accepts regex paths; you must instead import and use
`re_path()`.
@maxking maxking merged commit b398b13 into maxking:main Dec 26, 2023
2 checks passed
@maxking
Copy link
Owner

maxking commented Dec 26, 2023

Thanks for your contribution :-)

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.

[BUG] 0.4 has broken the redirect from / to /postorius/lists/
2 participants