#8558: "from django.db import models" missing in tutorial02
------------------------------------------------------+---------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: closed | Milestone:
Component: Documentation | Version: SVN
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------+---------------------
Changes (by ubernostrum):
* status: reopened => closed
* resolution: => invalid
Comment:
The text you refer to does not exist in the tutorial for the current
Django codebase, which is one part of this being invalid.
In [http://www.djangoproject.com/documentation/0.96/tutorial02/#adding-
related-objects the tutorial for the old release], that code is there but
there is no need to repeat the import statement; in that version, the code
is all in the `models.py` file, which has already imported
`django.db.models` by that point (otherwise none of the previous code in
the tutorial would have worked). So that's the other part of this being
invalid.
Remember: the tutorial is designed to be worked through in order, from
start to finish. Trying to jump in to a point in the middle without doing
the previous portions will result in headaches. If you have further
problems, please take them to the django-users mailing list, which is the
general place for support questions related to using Django.
--
Ticket URL: <http://code.djangoproject.com/ticket/8558#comment:3>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---