fix for djangojames 0.4.6