[Django] #21062: Transition to Generic Views Reference to Changing Poll_ID to PK, Yet No change is visible

15 views
Skip to first unread message

Django

unread,
Sep 7, 2013, 1:42:30 AM9/7/13
to django-...@googlegroups.com
#21062: Transition to Generic Views Reference to Changing Poll_ID to PK, Yet No
change is visible
--------------------------------------+------------------------
Reporter: john@… | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.6-beta-1
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------
[https://docs.djangoproject.com/en/dev/intro/tutorial04/]

On the above page, near the bottom, there's a bullet point which reads:

{{{
* The DetailView generic view expects the primary key value captured from
the URL to be called "pk", so we’ve changed poll_id to pk for the generic
views.
}}}

I may be missing the reference to this change, but have yet to discover
it.

--
Ticket URL: <https://code.djangoproject.com/ticket/21062>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 7, 2013, 1:46:45 AM9/7/13
to django-...@googlegroups.com
#21062: Transition to Generic Views Reference to Changing Poll_ID to PK, Yet No
change is visible
-------------------------------------+-------------------------------------
Reporter: john@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version:
Component: Documentation | 1.6-beta-1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by john@…):

* status: new => closed
* severity: Release blocker => Normal
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* resolution: => invalid


Comment:

Figured out where the poll_id is defined, and realized that it HAD
changed. So deleting the ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/21062#comment:1>

Django

unread,
May 16, 2014, 1:05:57 PM5/16/14
to django-...@googlegroups.com
#21062: Transition to Generic Views Reference to Changing Poll_ID to PK, Yet No
change is visible
-------------------------------------+-------------------------------------
Reporter: john@… | Owner: nobody

Type: | Status: closed
Cleanup/optimization | Version:
Component: Documentation | 1.6-beta-1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by cyberyt):

I also came here regarding that, I think the bullet point should be moved
up, or make an explicit reference to that it's talking about urls.py and
not views.py?

--
Ticket URL: <https://code.djangoproject.com/ticket/21062#comment:2>

Reply all
Reply to author
Forward
0 new messages