Changes between Initial Version and Version 1 of Ticket #15508


Ignore:
Timestamp:
Feb 25, 2011, 11:20:44 PM (14 years ago)
Author:
Russell Keith-Magee
Comment:

Good catch -- you're absolutely correct. I'll commit a fix shortly.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15508

    • Property Triage Stage UnreviewedAccepted
  • Ticket #15508 – Description

    initial v1  
    11With the following url rule
    2 
     2{{{
    33    url(r'^order/(?P<id>\d+)/$', DetailView.as_view(model=Order), name='order-detail')
    4 
     4}}}
    55Django throws the following error:
    6 
     6{{{
    77    Generic detail view order must be called with either an object id or a slug.
    8 
     8}}}
    99From django/django/views/generic/detail.py in get_object, line 45
    1010
Back to Top