Ticket #17914: 17914.diff

File 17914.diff, 437 bytes (added by Tim Graham, 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::  
    2626    reverse('news_archive')
    2727
    2828    # passing a callable object
     29    # (This is discouraged because you can't reverse namespaced views this way.)
    2930    from news import views
    3031    reverse(views.archive)
    3132
Back to Top