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

Capture multiple named groups again #2432

Merged
merged 4 commits into from
Oct 11, 2023
Merged

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Oct 10, 2023

We implemented support for more complex Django CMS URL patterns in #1773, however this led to a regression in how we capture multiple named groups in a URL pattern.

This PR reverts the Django CMS change and adds test cases that'll allow us to spot the regression should it happen again.

I'll include some rationale behind why I'm reverting the change vs. trying to make it work for both the Django CMS-style and multiple placeholder URL patterns in the issue where we track this regression.

Closes #2392

@sentrivana sentrivana merged commit f067af2 into master Oct 11, 2023
283 of 284 checks passed
@sentrivana sentrivana deleted the ivana/fix-multiple-group-regex branch October 11, 2023 07:13
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.

Django URLs with multiple placeholders cut off after first placeholder
2 participants