Skip to content

postorius: fix urls for newer django#675

Merged
maxking merged 1 commit intomaxking:mainfrom
makinbacon21:main
Dec 26, 2023
Merged

postorius: fix urls for newer django#675
maxking merged 1 commit intomaxking:mainfrom
makinbacon21:main

Conversation

@makinbacon21
Copy link
Copy Markdown
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
@maxking
Copy link
Copy Markdown
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