We've now created the home page for our site — an HTML page that displays some counts of records from the database and has links to our other still-to-be-created pages. Along the way we've learned a lot of fundamental information about url mappers, views, querying the database using our models, how to pass information to a template from your view, and how to create and extend templates.
Learn to implement and configure a functional database-driven website using the Django framework and MySQL.; Author: Sams Publishing; Updated: 23 Apr 2008; Section: Book Chapters; Chapter: General Reading; Updated: 23 Apr 2008
Django provides inbuilt testing capabilities. There are many ways to approach writing tests.To create a test, let’s introduce a bug into our Book model.
The Django REST interface makes it easy to offer private and public APIs for existing Django models. New generic views simplify data retrieval and modification in a resource-centric architecture and provide model data in formats such as XML, JSON and YAML with very little custom code.
Pinax is an open-source platform built on the Django Web Framework. By integrating numerous reusable Django apps to take care of the things that many sites have in common, it lets you focus on what makes your site different.