some django-coding style changes