Django cheat sheet

A Mercurytide white paper: 13th February 2007.

Djobs in Django; Careers at Mercurytide

Introduction

We’ve created a one-page Django cheat sheet

Have you found, no matter that you use the same functions and methods every day, you can’t quite remember the syntax? Us too.

Here at Mercurytide we’re lucky enough to work full-time with Django. We spend a fair amount of time looking at the online documentation because the same questions keep cropping up: What options does that field take?; Is that template filter spelt with underscores?; Is there a template tag to do this?; and so on.

We all know time spent looking at documentation is time spent not solving the world’s problems through code. And no good programmer wants that. So we’ve created a one-page Django cheat sheet.

Download the Django v0.95 cheat sheet (PDF, 108 KB).

You can also download a 1600×1280 pixel Django 0.95 cheat sheet (100 KB) for your desktop.

What’s included

We’ve deliberately limited ourselves to one A4 page. It’s good to work within constraints. The cheat sheet covers Django version 0.95 and includes:

Comments

If you have any comments on the cheat sheet, please email us at info@mercurytide.com. We welcome any ideas for improvements, corrections, or just some friendly Django-based banter.

Releases

Issue 3
Corrected the choices field option, which was incorrectly listed as choice. Released 16th March 2007.
Issue 2
Corrected errors in CommaSeparatedIntegerField field type and list_per_page Admin class option; removed distinction between lists and tuples. Released 16th February 2007.
Issue 1
Initial issue. Released 13th February 2007.
Technorati tags
;
; and
.

Mercurytide is a forward thinking, dynamic, and innovative Internet applications development company. We are well-established with a proven track-record within the industry of attracting blue chip clients from around the world. We produce monthly white papers on a variety of technology-orientated topics. For more details see the Mercurytide web site.

Written by Matt Riggott and Ed Wroblewski; published 13th February 2007.
Copyright 2008 Mercurytide Ltd. Valid XHTML and CSS.