#13538: Mistakes in http://docs.djangoproject.com/en/dev/topics/db/queries/
---------------------------------+------------------------------------------
 Reporter:  [email protected]  |       Owner:  nobody    
   Status:  new                  |   Milestone:            
Component:  Documentation        |     Version:  1.1       
 Keywords:                       |       Stage:  Unreviewed
Has_patch:  0                    |  
---------------------------------+------------------------------------------
 The referenced class uses a capital E....
 class Entry(models.Model)

 But under "Saving ForeignKey  and ManyToManyField  fields",
 a small E is used...
 >>> entry.blog = cheese_blog
 >>> entry.save()

 Before the above line can be executed, there is also a missing import
 statement...
 >>> from mysite.blog.models import *

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13538>
Django <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.

Reply via email to