#30775: Tutorial part 5 testing often encounters import errors -------------------------------------+------------------------------------- Reporter: Katie | Owner: Katie McLaughlin McLaughlin | Type: | Status: assigned Cleanup/optimization | Component: | Version: 2.2 Documentation | Severity: Normal | Keywords: Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- As reported via the contact form (thanks Tom R.!), people completing the tutorial often get stuck in Part 5 when running their first tests
https://stackoverflow.com/questions/14719883/django-can-not-get-a-time- function-timezone-datetime-to-work-properly-gett 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 :) -- Ticket URL: <https://code.djangoproject.com/ticket/30775> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.2afae99708699eafef45b95cd0596691%40djangoproject.com.