Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2025 closed defect (fixed)

[patch] Fix some issues with URL reversal

Reported by: anonymous Owned by: Adrian Holovaty
Component: Core (Other) Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I've come across a few bugs in the url reversals (urlresovlers.py)

  1. The reversal has problems traversing included urls.py. See A bug in reverse url lookup? (and a possible patch)
  1. The reversal can't handle a url regex that has nested parentheses. See Reversal Lookup Todo Needed

Attachments (1)

reverse_url_lookup.patch (3.3 KB) - added by medhat 10 years ago.
Patch to make reverse url lookup go into included urls.py

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by anonymous

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).

comment:2 Changed 10 years ago by anonymous

Version: SVN

Changed 10 years ago by medhat

Attachment: reverse_url_lookup.patch added

Patch to make reverse url lookup go into included urls.py

comment:3 Changed 10 years ago by medhat

Summary: URL ReversalURL Reversal (with patch)

comment:4 Changed 10 years ago by medhat

Component: Admin interfaceCore framework

comment:5 Changed 10 years ago by Adrian Holovaty

Summary: URL Reversal (with patch)[patch] Fix some issues with URL reversal

comment:6 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3057]) Fixed #2025 -- Fixed some issues with URL reversal, which still isn't ready for prime time. Thanks, medhat

Note: See TracTickets for help on using tickets.
Back to Top