Skip to content

Capture multiple named groups again#2432

Merged
sentrivana merged 4 commits intomasterfrom
ivana/fix-multiple-group-regex
Oct 11, 2023
Merged

Capture multiple named groups again#2432
sentrivana merged 4 commits intomasterfrom
ivana/fix-multiple-group-regex

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
@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