Django

Code

Ticket #2025 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] Fix some issues with URL reversal

Reported by: anonymous Assigned to: adrian
Milestone: Component: Core framework
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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)

2. The reversal can't handle a url regex that has nested parentheses. See Reversal Lookup Todo Needed

Attachments

reverse_url_lookup.patch (3.3 kB) - added by medhat on 05/31/06 10:20:16.
Patch to make reverse url lookup go into included urls.py

Change History

05/28/06 18:18:14 changed 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).

05/31/06 08:31:47 changed by anonymous

  • version set to SVN.

05/31/06 10:20:16 changed by medhat

  • attachment reverse_url_lookup.patch added.

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

05/31/06 10:20:57 changed by medhat

  • summary changed from URL Reversal to URL Reversal (with patch).

05/31/06 10:22:41 changed by medhat

  • component changed from Admin interface to Core framework.

05/31/06 10:26:24 changed by adrian

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

06/01/06 23:38:16 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #2025 ([patch] Fix some issues with URL reversal)




Change Properties
Action