Test runner returning error with multi file models

2017-09-26 Thread Jezeniel Zapanta
I have an app with multi-file models myapp/ |- models/ |- __init__,py |- user.py When I am running python manage.py test it returns: RuntimeError: Conflicting 'user_groups' models in application... But when I use only a single `models.py` file it works. Is this a bug? or am i

Error when running tests while using multi-file models

2017-09-26 Thread Jezeniel Zapanta
I am using multi-file models on my app: Example file structure: app/ |- models/ |- __init__.py |- user.py When I run `python manage.py test` it returns: RuntimeError: Conflicting 'user_groups' models in application... But when I join then into one file (models.py) it works