Django utilities.