#19260 closed Uncategorized (fixed)
Tutorial some bits a (little) unclear
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the section Playing with the API ( https://docs.djangoproject.com/en/1.4/intro/tutorial01/#playing-with-the-api ) it was unclear to me initially that the editing in the polls/model.py continues after the Info note. The text that gave it eventually away to me appears AFTER the block of code you are supposed to merge into that file.
Secondly when we are in the interactive shell we are told after a while to request a non-existing ID. This will throw an error and that's also stated. However I find it odd that every command has a comment above it except this one. This is odd and could be confusing to some why it throws an error in the first place.
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Do you have a suggestion for the first issue? I'm having trouble understanding the problem exactly.
Happy to add the comment as suggested for #2.
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This text:
"# Now request an ID that doesn't yet exist, this will throw an error."
Could work :) Forgot to add.