#8558: "from django.db import models" missing in tutorial02
------------------------------------------------------+---------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: reopened | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------+---------------------
Changes (by [EMAIL PROTECTED]):
* status: closed => reopened
* resolution: invalid =>
Comment:
The code snippet (for admin.py) I'm refering to starts with the line:
{{{
poll = models.ForeignKey(Poll, edit_inline=models.STACKED, num_in_admin=3)
}}}
Up to that point in the tutorial
([http://docs.djangoproject.com/en/dev/intro/tutorial02/#adding-related-
objects]) models were not imported or am I somehow blinded?
--
Ticket URL: <http://code.djangoproject.com/ticket/8558#comment:2>
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
-~----------~----~----~----~------~----~------~--~---