Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

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

  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 18 years ago.
Patch to make reverse url lookup go into included urls.py

Download all attachments as: .zip

Change History (7)

comment:1 by anonymous, 18 years ago

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 by anonymous, 18 years ago

Version: SVN

by medhat, 18 years ago

Attachment: reverse_url_lookup.patch added

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

comment:3 by medhat, 18 years ago

Summary: URL ReversalURL Reversal (with patch)

comment:4 by medhat, 18 years ago

Component: Admin interfaceCore framework

comment:5 by Adrian Holovaty, 18 years ago

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

comment:6 by Adrian Holovaty, 18 years ago

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