Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8184 closed (fixed)

urlresolver doc

Reported by: hvendelbo 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: UI/UX:

Description

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
errors).

Change History (3)

comment:1 Changed 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by mtredinnick

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

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

comment:3 Changed 7 years ago by mtredinnick

(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