Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2025 closed defect (fixed)

[patch] Fix some issues with URL reversal

Reported by: anonymous Owned by: adrian
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 9 years ago.
Patch to make reverse url lookup go into included urls.py

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 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 9 years ago by anonymous

  • Version set to SVN

Changed 9 years ago by medhat

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

comment:3 Changed 9 years ago by medhat

  • Summary changed from URL Reversal to URL Reversal (with patch)

comment:4 Changed 9 years ago by medhat

  • Component changed from Admin interface to Core framework

comment:5 Changed 9 years ago by adrian

  • Summary changed from URL Reversal (with patch) to [patch] Fix some issues with URL reversal

comment:6 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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