#2025 closed defect (fixed)
[patch] Fix some issues with URL reversal
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I've come across a few bugs in the url reversals (urlresovlers.py)
- The reversal has problems traversing included urls.py. See A bug in reverse url lookup? (and a possible patch)
- The reversal can't handle a url regex that has nested parentheses. See Reversal Lookup Todo Needed
Attachments (1)
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Version: | → SVN |
---|
by , 18 years ago
Attachment: | reverse_url_lookup.patch added |
---|
Patch to make reverse url lookup go into included urls.py
comment:3 by , 18 years ago
Summary: | URL Reversal → URL Reversal (with patch) |
---|
comment:4 by , 18 years ago
Component: | Admin interface → Core framework |
---|
comment:5 by , 18 years ago
Summary: | URL Reversal (with patch) → [patch] Fix some issues with URL reversal |
---|
comment:6 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It would also be nice if i didn't have to enter in my project name (like proj_name.app_name.view); that way, I can plug the same app into a different project (or is this a bad idea).