Closed ramusus closed 15 years ago
Unfortunately there currently isn't a way to do this. This is an issue with Django itself as seen here: http://code.djangoproject.com/ticket/7835 .
I don't agree, there are plenty of apps that ship test models, e.g. http://github.com/jacobian/django-shorturls/tree/master/src/shorturls/tests
FYI, I've fixed this issue in http://github.com/jezdez/django-filter/commit/277f3260bbffeb7822281da2cec7b2fc57f71c94
jezdez, that's awesome. Alex, do you think jezdez's changes could be merged soon?
I think it's a good idea to move models.py to another directory, for example "tests"
Every time, when I update my db-scheme, system ask me to make tables from "django-filter/models.py" file. I don't need these test tables, but I don't think that's right to remove this file from external package.