#35347: Clarify choice_set function in tutorial 2
------------------------------------------------+--------------------------
Reporter: AntWarden81 | Owner: nobody
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+--------------------------
[Tutorial 2](https://docs.djangoproject.com/en/5.0/intro/tutorial02/)
introduces usage of the function `choice_set`, generated from the foreign
key to Question in the Choice object. However, the tutorial does not
specify where this function comes from or why it is created.
Adding a short blurb in the comments of the code block will clarify this
and explain how `choice_set` is created.
--
Ticket URL: <https://code.djangoproject.com/ticket/35347>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018e9ae8c2cb-e4905473-a5fa-430c-9a49-0bd8ce434b06-000000%40eu-central-1.amazonses.com.