fixes to django conventions