changed class for django-nonrel