Commit f32bb3ad authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Refs #17914 -- Discouraged using reverese() with callables.

Backport of a6acfc31 from master
parent 5bdf0eaf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ you can use any of the following to reverse the URL::
    reverse('news_archive')

    # passing a callable object
    # (This is discouraged because you can't reverse namespaced views this way.)
    from news import views
    reverse(views.archive)