convert to python-3.3 and django-1.5.2