Ticket #17914: 17914.diff
File 17914.diff, 437 bytes (added by , 9 years ago) |
---|
-
docs/ref/urlresolvers.txt
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index 60a6192..957efba 100644
a b you can use any of the following to reverse the URL:: 26 26 reverse('news_archive') 27 27 28 28 # passing a callable object 29 # (This is discouraged because you can't reverse namespaced views this way.) 29 30 from news import views 30 31 reverse(views.archive) 31 32