Opened 12 years ago

Last modified 12 years ago

#18527 closed Uncategorized

https://docs.djangoproject.com/en/dev/topics/class-based-views/generic-display/ — at Version 2

Reported by: ramilzay@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description (last modified by Claude Paroz)

https://docs.djangoproject.com/en/dev/topics/class-based-views/generic-display/
in this docpage:

from books.views import AuthorDetailView

urlpatterns = patterns('',
    #...
    url(r'^authors/(?P<pk>\\d+)/$', AuthorDetailView.as_view(), name='author-detail'),
)

Maybe, \d+ instead of \\d+

Change History (1)

comment:2 by Claude Paroz, 12 years ago

Description: modified (diff)

Reformatting, please use Preview before posting.

Note: See TracTickets for help on using tickets.
Back to Top