Extra bits and pieces for Django