This will help a user know what exactly are we talking about when we say lookup types in Django ORM.
I had an issue with it and #django IRC said that it's quite common issue so... here we go!
…" as expected.
* fix_ordering: Fix regression in order_by explain the "strict" FilterSet option in the docs...created subsection to make it clearer it isn't a Meta option keep example FilterSet class name consistent fix a few tests due to defaulting strict = True - need to differentiate between actual 'None' value and a ValidationError - grab order_by value in for loop, avoids double lookup and eliminates need for get_value function change default value for strict to True, and hopefully made the code for filtering with invalid values clearer (also removed _SENTINEL) Fixed tests for Django 1.6/1.7. Disable python 2.6 on tests against Django master. Fixed support for newer wheel versions. change FilterSet to invoke form errors and skip filtering on invalid data, returning empty queryset with strict mode Conflicts: django_filters/filterset.py
…n to make it clearer it isn't a Meta option
* moves tests package to root of project and renames it to test_django_filters * splits tests.py into multiple files * removes fixture need by creating instances on the fly ** attempted to use factory_boy instead, but it isn't py3k compatible yet * uses django-discover-runner to find the test cases while primarily focused on test refactoring, it also: * updates runtests.py to allow more flexibility when running tests * adds a runshell.py which configures django, runs syncdb and loads the test environment shell (in-memory sqlite db) * adds pip requirements files for new test dependencies * updates MANIFEST.in for test package split * uses py3k compatible relative imports when possible * removes XMLField handling, since we only support Django >= 1.4 * removes unnecessary code to get length on MultipleChoiceField's choices when filtering * updates code for pep8 and pyflakes adherence
Signed-off-by: Andrew D. Ball <email@example.com>
…go_filters, now it doesn't contend with the Python builtin filter.