Changes between Initial Version and Version 1 of Ticket #15508
- Timestamp:
- Feb 25, 2011, 11:20:44 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15508
- Property Triage Stage Unreviewed → Accepted
-
Ticket #15508 – Description
initial v1 1 1 With the following url rule 2 2 {{{ 3 3 url(r'^order/(?P<id>\d+)/$', DetailView.as_view(model=Order), name='order-detail') 4 4 }}} 5 5 Django throws the following error: 6 6 {{{ 7 7 Generic detail view order must be called with either an object id or a slug. 8 8 }}} 9 9 From django/django/views/generic/detail.py in get_object, line 45 10 10