Chapter 11. Django revisited!


This chapter covers
  • Adding authentication
  • Unit-testing and functional-testing applications
  • Updating the database when models change
  • Serving static images and CSS style sheets


In Chapter 8, you built a simple todo list with Django, which allowed you to keep track of tasks you needed to do. Although useful for you, it’s not helpful to other people. In this chapter, we’ll look at some of the polishing steps you need to take to make your Django application useful to others. Let’s get started!


Your application was pretty much finished from a functionality point of view—you can delete and change any of your todos, and add as many as you like. Here’s the problem: so can anyone else, if that person ...

Get Hello! Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.