1.1.6 Bump
Replace RawQuery with compiler.results_iter()

This originated with behavior seen in Avocado where data was being shifted.
It was discovered to be the Oracle ROWNUM identifier that was prepended to
each row. See cbmi/avocado#98

Fix #8
1.1.6 Release
1.1.7 Bump
Implement __contains__ hook

This enables checking if a tree is availble. For pre-defined
tree settings, this will be present in `trees.modeltrees`, while
on-the-fly created trees will only be in `trees._modeltrees`.
1.1.7 Release
1.1.8 Bump
Allow initializing ModelTreeManager with a specific tree

When two or more trees are defined with the same root model, this
enables specifying which one to based off of. The model could have
multiple managers defined using different trees.
Add badges to README
Move tests directory outside of package

Enforce flake8 and sign-off checks in Travis build

Signed-off-by: Byron Ruth <b@devel.io>
Add support for proxy models

This introduces an optional argument to `query_string_for_field` for
explicitly specifying the model the field is defined on. This allows
for passing a proxy model along with the bound field which will alter
the join path that is constructed.

Read about proxy models in Django: https://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models


Signed-off-by: Byron Ruth <b@devel.io>
Merge pull request #13 from cbmi/proxy-models

Add support for proxy models
1.1.8 Release

Signed-off-by: Byron Ruth <b@devel.io>
1.1.9 Beta

Signed-off-by: Byron Ruth <b@devel.io>
Rename core tests with test_ prefix so django recognizes them

Django 1.6 uses a new test runner which requires tests to be in files
that start with "test". Django 1.5 and earlier would find these in the
tests/ directory but that is no longer the case so we add the test_
prefix which has no negative effects in Django <= 1.5 but allows the
test runner to find them in Django >= 1.6.

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Update join creation to support changes made in Django 1.6

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Use SelectInfo class in Django 1.6+

This is a new data structure that includes the column and the field
instance.

Signed-off-by: Byron Ruth <b@devel.io>
Add conditional prefix to test modules based on Django version

Django >= 1.6 requires the full test module while Django <= 1.5 could
get by with just the name. The test_suite.py now adds the prefix when it
detects a django version that requires it.

Add Django 1.6.6 to TravisCI build matrix

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Update tests to account for extra whitespace in SQL in Django 1.6

Also updates the formatting of the long SQL statements to make them
easier to read.

Signed-off-by: Don Naegely <naegelyd@email.chop.edu>
Fix LazyModelTrees test to prevent testing external state

Signed-off-by: Byron Ruth <b@devel.io>