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: | 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 )
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+
Note:
See TracTickets
for help on using tickets.
Reformatting, please use Preview before posting.