These two tests return the same error:
ERROR: test_detail_view_with_a_future_question
(polls.tests.QuestionIndexDetailTests)
ERROR: test_detail_view_with_a_past_question
(polls.tests.QuestionIndexDetailTests)
AttributeError: Generic detail view DetailView must be called with either
an object pk or a slug.
Discovered this suggestion but didn't manage to get it to work.
Not sure what the correct solution should be.
http://chriskief.com/2012/12/29/django-generic-detailview-without-a-pk-or-
slug/
--
Ticket URL: <https://code.djangoproject.com/ticket/26000>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
I think you probably make a mistake along the way, but you'll need to
provide your project so that we can help identify the issue. Please see
TicketClosingReasons/UseSupportChannels for ways to get help.
--
Ticket URL: <https://code.djangoproject.com/ticket/26000#comment:1>