||Planned Changes for Second Edition
||Update install instructions to Python 3.6 and Django 1.11.
||Django Views and URLconfs
||Update code for Django 1.11
||Update introductory material to Django 1.11. Update theory to hands on marking up of a HTML template (taken from First Website book), creating child and parent templates and create functioning views where learner can practice using tags and filters in a real template
||Update code for Django 1.11
||The Django Admin
||Update content and screenshots to Django 1.11. Add new content on Admin Actions and the Admin documentation generator
||Substantially update. Remove hand coding of forms (like who does that any more??). Introduce modern approach to form creation and management. Add more advanced form topics including styling, customization, model forms and multipart. Add lots of working examples
||Advanced Views and URLconfs
||Remove. Reversing URLs, passing extra context etc will all be covered in beefed up chapter 3.
||More than half of this is from Django documentation. Collate topic areas and see how practical examples can be created to build on content from Chapter 3. Remove all Django docs and only reference where needed
||More than half of this is from Django documentation. Collate topic areas and see how practical examples can be created to build and manipulated some more advanced models. Remove all Django docs and only reference where needed
||Complete rewrite. Build practical examples of all the generic views (excl. authentication views)
||User Authentication in Django
||Most of this is unchanged from the Django documentation. Users in the admin is OK – update and expand a little. Rewrite with working examples of all the authentication CBVs. Remove all Django docs and only reference where needed
||Testing in Django
||More technical content is from the Django docs. Remove and reference where needed. Build some more tests for existing app. Also look at some of Django’s tests as illustrative examples and consider putting in a section with use of assert False and deeper look into Django’s error pages.
||Keep section on scaling. Rewrite deployment tasks. Add actual deployments. Maybe PythonAnywhere, Heroku, Digital Ocean and Web Faction?
||Generating Non-HTML Content
||Add more content and examples on CSV and PDF. Remove sitemaps and RSS as they are copied from the Django docs. Add emailing from Django, uploading CSV as an admin action and serialization of data to JSON etc.
||This is from the Django docs. Write some practical examples to work with the book code. Remove the rest.
||Django Cache Framework
||Remove. Caching is hard to demonstrate in test environment and dummy cache not very illustrative. Reference Django docs in other parts of book that caching is mentioned.
||All from the docs. Changes from MIDDLEWARE_CLASSES to MIDDLEWARE is covered in new chapter “What’s Changed from Django 1.8?”. Potentially turn included middleware and middleware ordering into an appendix, otherwise remove
||Remove. The docs are the best reference for this. Reference docs from other parts of book that mentions internaltionalization
||Security in Django
||Remove. The docs are the best reference for security in Django. Reference where applicable
||More on Installing Django
||Remove. Reference uninstalling and installing dev version in Chapter 1
||Advanced Database Management
||Rewrite. Provide connection settings for each database and any practical advice that I can find that complements the docs, otherwise remove and reference where applicable
||Model Definition Reference
||Database API Reference
||Generic View Reference
||Remove – cover all examples in Chapter 10
||Built-in Template Tags and Filters
||Request and Response Objects
||Developing Django with Visual Studio
||Update. Potentially add content on debugging in VS as well as using VS Code as a more lightweight alternative to VS
||What Changed from Django 1.8?
||Overview of major changes between 1.8 and 1.11
||New content on pagination, flat pages, messages and logging. Maybe add some content on signals as well?