Opened 15 years ago
Last modified 13 years ago
#13538 closed
Mistakes in http://docs.djangoproject.com/en/dev/topics/db/queries/ — at Initial Version
Description ¶
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 *
Note:
See TracTickets
for help on using tickets.