Clarifications for http://docs.djangoproject.com/en/dev/topics/db/queries/
|Reported by:||Owned by:||Derek Willis|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
The referenced class uses a capital E....
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 *
Change History (11)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Summary:||Mistakes in http://docs.djangoproject.com/en/dev/topics/db/queries/ → Clarificications for http://docs.djangoproject.com/en/dev/topics/db/queries/|
|Triage Stage:||Unreviewed → Accepted|
comment:8 Changed 6 years ago by
|Summary:||Clarificications for http://docs.djangoproject.com/en/dev/topics/db/queries/ → Clarifications for http://docs.djangoproject.com/en/dev/topics/db/queries/|