We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
urlresolver
For example,
The following url should match:
`http://localhost/12345/?_refer=abc`
with this rule: url('^\(?P<id>\\d{2,20})/$', 'reports.views.index')
url('^\(?P<id>\\d{2,20})/$', 'reports.views.index')
However, it doesn't, and I need to change the rule to: url('^\(?P<id>\\d{2,20})/.*$', 'reports.views.index')
url('^\(?P<id>\\d{2,20})/.*$', 'reports.views.index')
The example (dingo-example) should be updated to add a link with query parameter. Please send pull request on both repos.
The text was updated successfully, but these errors were encountered:
when you match the url, why not first remove parts after '?' then do the match?
Sorry, something went wrong.
@ulion, I think it is what should be done.
Perhaps, parse the url first and only use the path. Be careful not to break the support of optional trailing "/".
No branches or pull requests
For example,
The following url should match:
with this rule:
url('^\(?P<id>\\d{2,20})/$', 'reports.views.index')
However, it doesn't, and I need to change the rule to:
url('^\(?P<id>\\d{2,20})/.*$', 'reports.views.index')
The example (dingo-example) should be updated to add a link with query parameter. Please send pull request on both repos.
The text was updated successfully, but these errors were encountered: