Entries tagged: django

Aug 14

Getting the related item in an aggregate

Jul 25

Europython 2010 talk: Advanced Django ORM Techniques

Jun 02

Class-based views and thread safety

Just because it's a class, part 2

May 10

Django aggregation and a simple GROUP BY

Using 'values' to sum over distinct values within a QuerySet

Apr 21

Vim autocomplete, Django and virtualenv

A lot of detective work to enable one of vim's useful features

Apr 21

Bye-bye django.comments, hello Disqus

All right, I admit defeat

Apr 13

Temporary models in Django

Mar 09

Easy create or update

An efficient way to write one of Django's missing shortcuts

Feb 22

Django patterns, part 4: forwards generic relations

Simulating select_related() on a GenericForeignKey

Feb 15

Django patterns part 3: efficient generic relations

Extending the dictionary technique to cover generic lookups

Feb 01

Middleware post-processing in Django: a gotcha

Just because it's a class, it doesn't mean you should store state in it

Jan 11

Django patterns, part 2: efficient reverse lookups

Avoiding extra database calls on backwards ForeignKey queries

Dec 26

Vim taglist and Django

Dec 26

Showing queries in Haystack

A Django debug toolbar panel for Haystack

Dec 20

Django patterns: memoizing

How to cache expensive operations to prevent repeated database calls

Dec 08

South migrations with MPTT

Dec 05

Customising Mingus, part 2

Oct 04

Customising Django-Mingus