Fix for django 1.6

Fix metaclass information, which conflicts with another metaclass introduced in Django 1.6a1; just use type.