Opened 14 years ago

Closed 14 years ago

#14191 closed (invalid)

urls.py works inconsistently

Reported by: canburak Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Keywords:
Cc: fatihkoksal@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

URL matching system works from top down, while name registration works bottom up.

When I have the following urls:

/accounts/<userid>/, name=account
/someprefix/accounts/<userid>/, name=account

{% url account testuser %} resolves to /someprefix/accounts/testuser/.

Based on the order of apps in INSTALLED_APPS defining template overriding, I expected URL naming to work that way.

Change History (1)

comment:1 by canburak, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top