Uploaded November 2026 | Updated November 2026, 23 hours ago
In Week 14 of Django for Everybody, our main topic is many-to-many relationships in databases.
We use that idea to add comments to the Marketplace application. Each comment has an owner, users can edit or delete their own comments, and everyone can see comments from other users.
Topics this week include:
• Many-to-many database relationships
• Modeling comments through a junction relationship
• Adding owned comments to Marketplace
• Reusing sample code carefully instead of replacing working code
• Using Git tags as snapshots between assignments
• Using git diff to inspect your changes
• Rolling back to a known-good version if something goes wrong
The Marketplace assignments must be completed in order. Before starting the next assignment, make sure the current one is working and has full credit, then take a Git snapshot.
I also added a rollback.sh helper script to the DJ4E samples to make it easier to return to an earlier Marketplace snapshot if necessary.
The first 60% of the final exam is already available in Canvas. It is Marketplace 4, which adds favorites.
There is a substantial amount of material associated with Marketplace 4, so starting early has an advantage: while classes are still running, you can use office hours, discussions, Zoom, Slack, and the normal course support structure if you get stuck.
The remaining 40% of the final will be released near the end of classes.
Happy Thanksgiving and enjoy the break. You have flexibility in when you complete the remaining work, but make sure you leave yourself enough time to finish Marketplace 2, Marketplace 3, and Marketplace 4 before the end of the semester.
In Week 14 of Django for Everybody, our main topic is many-to-many relationships in databases.
We use that idea to add comments to the Marketplace application. Each comment has an owner, users can edit or delete their own comments, and everyone can see comments from other users.
Topics this week include:
• Many-to-many database relationships
• Modeling comments through a junction relationship
• Adding owned comments to Marketplace
• Reusing sample code carefully instead of replacing working code
• Using Git tags as snapshots between assignments
• Using git diff to inspect your changes
• Rolling back to a known-good version if something goes wrong
The Marketplace assignments must be completed in order. Before starting the next assignment, make sure the current one is working and has full credit, then take a Git snapshot.
I also added a rollback.sh helper script to the DJ4E samples to make it easier to return to an earlier Marketplace snapshot if necessary.
The first 60% of the final exam is already available in Canvas. It is Marketplace 4, which adds favorites.
There is a substantial amount of material associated with Marketplace 4, so starting early has an advantage: while classes are still running, you can use office hours, discussions, Zoom, Slack, and the normal course support structure if you get stuck.
The remaining 40% of the final will be released near the end of classes.
Happy Thanksgiving and enjoy the break. You have flexibility in when you complete the remaining work, but make sure you leave yourself enough time to finish Marketplace 2, Marketplace 3, and Marketplace 4 before the end of the semester.










