'ValueError: Related model 'auth.Group' cannot be resolved when running django test

I am new to Django REST Api testing and I am running an error like this raise ValueError('Related model %r cannot be resolved' % self.remote_field.model) ValueError: Related model 'auth.Group' cannot be resolved when running a test, and im not sure why this happen



Solution 1:[1]

You can solve it removing the migrations files.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 God Wandroid