id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 26000 Error in tutorial05 Django1.9 Philip Cheong nobody "After following the directions here: https://docs.djangoproject.com/en/1.9/intro/tutorial05/ 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/" Bug closed Documentation 1.9 Normal worksforme AttributeError DetailView pk slug Unreviewed 0 0 0 0 0 0