Improve conversion from django.