Browse Source

Refs #17914 -- Discouraged using reverese() with callables.

Tim Graham 9 years ago
parent
commit
a6acfc3183
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/ref/urlresolvers.txt

+ 1 - 0
docs/ref/urlresolvers.txt

@@ -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)