Changes for django-dm.