Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8184 closed (fixed)

urlresolver doc

Reported by: Henrik Vendelbo Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I think this nice comment from the mailing list should be added to the reverse() function doc

The urlresolvers.reverse function throws an exception if *any* of your
URLs anywhere in the project have a bad view and not necessarily the
one you are trying to reverse map. So, check that you don't have any
URL mappings with undefined view functions (or views with syntax

Change History (3)

comment:1 Changed 11 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:2 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

Fixed in r9167, even though I referred to entirely the wrong ticket in the commit message there.

comment:3 Changed 11 years ago by Malcolm Tredinnick

(In [9173]) [1.0.X] Fixed #8184 -- Added a note to the documentation for reverse() that all
views must be importable for URL reversing to work correctly.

Backport of r9167 from trunk.

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