Explorar o código

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

Tim Graham %!s(int64=9) %!d(string=hai) anos
pai
achega
a6acfc3183
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)