#30775 closed Cleanup/optimization (fixed)
Tutorial part 5 testing often encounters import errors
| Reported by: | Katie McLaughlin | Owned by: | Katie McLaughlin |
|---|---|---|---|
| Component: | Documentation | Version: | 2.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
As reported via the contact form (thanks Tom R.!), people completing the tutorial often get stuck in Part 5 when running their first tests
The issue is that there is an import line hiding in Part 2 "Playing with the API" where imports are added to the polls/models.py that are often missed, generating a different error when running the tests than what is expected by that part of the tutorial.
I already have a patch for this :)
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/11781