11.5 Putting It All Together
We did two things this chapter:
Split the organizer app’s urls
module into a urls
package with multiple child modules
Built a webpage to allow users to send us emails
The new urls
package allowed us to better clean up code and better adhere to DRY despite breaking one of Django’s recommended conventions.
Our contact feature behaves unlike anything we’ve built before. It works without models and doesn’t interact with the database in the slightest. The form we built doesn’t follow convention by implementing a save() ...
Get Django Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.