Opened 18 years ago
Closed 18 years ago
#5068 closed (fixed)
Problem on db-api page - partial conversion of author ForeignKey to ManyToMany
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
It appears that the Entry/Author example started to be changed into a ManyToMany
instead of a ForeignKey
, but not all of the examples were updated - in one of them, it is still doing entry.author = joe
instead of entry.authors.add(joe)
.
Change History (5)
by , 18 years ago
Attachment: | 5068.patch added |
---|
comment:1 by , 18 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 18 years ago
Attachment: | 5068.2.patch added |
---|
comment:2 by , 18 years ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I think it's still important to show an example of saving a FK there, so the FK example should be changed to show
.blog
being modified, then the M2M example after that.