Re: Forms test run on development database instead of test database

2015-01-29 Thread Merouane Atig
test module > is importing forms (before the test starts). The forms module is running a > query on startup for choices. > > https://github.com/merwan/django-choicefield/blob/master/myapp/forms.py > > Don't do queries on startup. :) > > Collin > > On Monday, Janu

Forms test run on development database instead of test database

2015-01-26 Thread Merouane Atig
Hi, I have a strange issue with a forms test and I would like to know if I'm doing something wrong or if it is a Django bug. I created a repo to reproduce the issue I have: https://github.com/merwan/django-choicefield I have a DomainForm class with a choice field populated from a table in the