ANN: Updated Django Cheat Sheet

3 views
Skip to first unread message

Fraser Nevett

unread,
Sep 4, 2008, 6:09:57 AM9/4/08
to Django users
With the release of Django 1.0, we're pleased to announce the release
of a completely updated version of our highly popular Django Cheat
Sheet which is crammed with a whole host of useful Django information:

http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

We welcome any ideas for improvements, corrections, or any other
feedback.

On behalf of everyone here at Mercurytide, I'd like to offer our
sincere thanks to all those who have contributed to Django, and
especially to the core devs for all their effort. It's been a long
time coming, but everyone's hard work has made Django a truly awesome
framework.

Fraser
Message has been deleted

jonknee

unread,
Sep 4, 2008, 10:00:50 AM9/4/08
to Django users
> We welcome any ideas for improvements, corrections, or any other
> feedback.

Nice work, much appreciated. One thing did jump out at me though... In
the Model fields section, USStateField and PhoneNumberField have been
moved into localflavor:

http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#MovedUSStateFieldandPhoneNumberFieldtolocalflavor

David Larlet

unread,
Sep 4, 2008, 11:09:04 AM9/4/08
to django...@googlegroups.com

Le 4 sept. 08 à 12:20, Fraser Nevett a écrit :
>
> http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

>
> We welcome any ideas for improvements, corrections, or any other
> feedback.

Any chance to get a printable copy without colors, just a white
background?
My printer will thank you ;-).

Best,
David


James Matthews

unread,
Sep 4, 2008, 12:53:01 PM9/4/08
to django...@googlegroups.com
Thanks! and i second David's request.

Fraser Nevett

unread,
Sep 4, 2008, 1:46:38 PM9/4/08
to Django users
Thanks for all the feedback both on list and via email.

Our plan is to wait a day or two to see if there are any further
corrections required and then to release an updated edition early next
week. At this time we'll also produce a alternative version which will
be more suited for non-colour printing.

Cheers,

Fraser

Steve Holden

unread,
Sep 7, 2008, 9:19:31 AM9/7/08
to django...@googlegroups.com
Fraser:

I printed the sheet out in duplex and was disappointed to see that the
two sides had opposite orientations. So a duplex version that would
yield a useful double-sided cheat sheet would be interesting to me.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Tim Chase

unread,
Sep 7, 2008, 9:32:16 AM9/7/08
to django...@googlegroups.com
> I printed the sheet out in duplex and was disappointed to see that the
> two sides had opposite orientations. So a duplex version that would
> yield a useful double-sided cheat sheet would be interesting to me.

This is usually a printer output configuration option. When
duplexing, you usually have the choice of "long edge/side" or
"short edge/side". Swapping this option should help you out.

-tim

Steve Holden

unread,
Sep 7, 2008, 10:56:59 AM9/7/08
to django...@googlegroups.com
Right. Looks like I have about 32 variants to try now ...

regards
Steve

Vinay Sajip

unread,
Sep 9, 2008, 6:32:00 AM9/9/08
to Django users


On Sep 4, 6:46 pm, Fraser Nevett <fras...@gmail.com> wrote:
> Thanks for all the feedback both on list and via email.
>
> Our plan is to wait a day or two to see if there are any further
> corrections required and then to release an updated edition early next
> week. At this time we'll also produce a alternative version which will
> be more suited for non-colour printing.
>

Nice cheat sheet. Hope it's not too late to offer a suggestion - it
would be useful to have the forloop special variables in the cheat
sheet. Not sure where you'll find room, though ;-)

Regards,

Vinay Sajip

dusans

unread,
Sep 9, 2008, 9:59:06 AM9/9/08
to Django users
Tnx, make a black/white version :)

Andrew Durdin

unread,
Sep 10, 2008, 6:30:14 AM9/10/08
to Django users
On Sep 9, 11:32 am, Vinay Sajip <vinay_sa...@yahoo.co.uk> wrote:
>
> Nicecheatsheet. Hope it's not too late to offer a suggestion - it
> would be useful to have the forloop special variables in thecheatsheet. Not sure where you'll find room, though ;-)

We had them there in an earlier draft, but there just wasn't room.
They're not too hard to remember, though, hopefully? Off the top of
my head: counter, counter0, revcounter, revcounter0, parentloop,
first, last.

You could write them all on a single post-it note and stick them to
your monitor ;)

Cheers,

Andrew Durdin.

Fraser Nevett

unread,
Sep 10, 2008, 10:19:55 AM9/10/08
to Django users
Just letting everyone know that we've released a new edition which
removes the PhoneNumberField and USStateField fields as discussed --
thanks to all those who contacted us about this.

The other common request we received was to have a version that worked
better with black and white printers. To this end, there's now a
grayscale PDF also available for download from our site:

http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

Regards,

Fraser

Nikos Delibaltadakis

unread,
Sep 21, 2008, 3:23:25 AM9/21/08
to django...@googlegroups.com
Shouldn't ForeignKeyField to be just ForeignKey?
Am I missing something?

2008/9/10 Fraser Nevett <fra...@gmail.com>



--
Nikos Delibaltadakis

Andrew Durdin

unread,
Sep 22, 2008, 7:21:20 AM9/22/08
to Django users
On Sep 21, 8:23 am, "Nikos Delibaltadakis" <delini...@gmail.com>
wrote:
> Shouldn't ForeignKeyField to be just ForeignKey?
> Am I missing something?

No, you're absolutely correct -- thanks for spotting the error! We'll
get a corrected version out ASAP.

Cheers,

Andrew.

Andrew Durdin

unread,
Sep 22, 2008, 2:12:52 PM9/22/08
to Django users
We've updated the cheat sheet to correct two typos:

- The "default_if_none" filter is now correctly spelt (thanks to
Aaron C. de Bruyn for pointing it out).

- The "ForeignKey" model field is now correctly named (thanks to
Nikos Delibaltadakis for pointing it out).

Grab it from http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

Andrew

Andrew Durdin

unread,
Oct 7, 2008, 5:33:36 AM10/7/08
to Django users
Issue 4 is out with a correction to the arguments for DecimalField in
the Form Fields section.
Thanks to Doug Van Horn for pointing out the error.

Download it from http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/

Andrew
Reply all
Reply to author
Forward
0 new messages