This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
Releases: chop-dbhi/modeltree
Releases · chop-dbhi/modeltree
Python 3 and Django 1.10, 1.11 support
Support ForeignKey.to_field
1.1.10 Final Signed-off-by: Byron Ruth <b@devel.io>
Django 1.8 and beyond
The 2.0.0 release drops support for Django 1.7 and below.
Support for Django 1.6 and 1.7
Proxy Model & ModelTreeManager Enhancement
ModelTreeManager
can now be initialized with a specific tree rather than assume a tree given a model (since a model could have multiple trees associated with it.)
A new optional argument model
has been added for query_string_for_field
and query_condition
for specifying the model the field is coming from. This is specifically to support proxy models in Django which allows for defining independent, logical models on an existing one. ModelTree can take advantage of this since different join paths will be inferred.
ModelTree hook
- Implement
ModelTree.__contains__
hook for checking for pre-defined modeltrees
Bugs
Django 1.5 & Python 2.6
1.1.5 1.1.5 Release