This is the source code repository that goes along with the Django In Action book. Each chapter in the book adds new features to "RiffMates", a website for musicians seeking bands and bands seeking musicians.
As Django is a framework, individual code snippets don't tend to work on their
own, they need to operate in the context of a Django project. To help
understand how an example fits into the big picture, this repo contains
multiple copies of the project in incremental stages. For example, the source
code for chapter 3 is split into three directories: code/ch3a_templates
,
code/ch3b_inherit
, and code/ch3c_exercises
. The first two correspond to
the examples on template basics and template inheritance, and the third
contains the answers to the exercises at the end of the chapter.
Electronic copies of the book include Appendix E, a complete listing of solutions to the exercises. Due to space constraints, printed copies do not include Appendix E, a PDF version is included in this repository for your reference.
Django In Action is currently being written and is available through Manning's Early Access Program. If you have a copy already, thanks for picking it up. If you don't, you can get it here:
If you find errors in the code, feel free to open an issue. If you're participating in the MEAP program, notes and feedback on the book should be through the liveBook forum.