- Added Python 3 support
- Upgraded jqTree to latest version, and converted to a Git submodule
- Fix Django 1.6 transaction support
- Fix object
.save()
calls when moving items in the tree. There is no need to refetch the object, so the object.save()
method can detect changes in it's parent.
- Fix breadcrumbs, used title` attribute instead of
__unicode__()
.
- Hide "add" icon when there is no permission.
- Fix Django 1.6 deprecation warnings for simplejson module.
- Added workaround for large data sets, temporarily disabled pagination. NOTE: this issue needs to be looked at in more depth, and is a quick fix only.
- Fix deprecation warning from django-polymorphic.
- Fix Django 1.3 support by 0.8.7 (will only bump app requirements on major releases, e.g. 0.9).
- Fix Django 1.5 support in the templates
- Fix Django 1.6 support, use new
django.conf.urls
import path. Note you need to use django-polymorphic >= 0.5.1 as well with Django 1.6.
- Fixes for moving nodes in the admin:
- Call
model.save()
so post-save updates are executed.- Update the preview URL in the "Actions" column.
- Perform database updates in a single transaction.
- Depend on django-polymorphic 0.3.1, which contains our
PolymorphicParentAdmin
now. - Depend on django-tag-parser, the tag parsing utilities have been migrated to that app.
- Marked as beta release, as the API of the polymorphic admin is now finalized.
- Fix list appearance in combination with django-grapelli
- Improve error messages on invalid movements
- Fix row alignment in the admin interface
- Spelling and typoo fixes, print statement
BIC: Changed changed the dynamic model registration in
PolymorphicParentAdmin
.Instead of
get_child_model_classes()
+get_admin_for_model()
there is aget_child_models()
method that works like the staticchild_models
registration. This also removes to need to provide aModelAdmin
instance somehow, only the class has to be provided.Fixed
raw_id_fields
for child admins.Fixed accidental late registration of models, fixes the "Save and Continue" button.
Improved protection of custom subclass views.
Generate
django.mo
files duringsetup.py sdist
.Added Dutch translation
- Added
type_label
toNodeTypeChoiceForm
, for simple label switching. - Added API's to support django-fluent-pages, and other systems:
- Allow the model.``can_have_children`` to be a property
- Allow to override the error message in PolymorphicTreeForeignKey
- Added
can_preview_object()
code in the admin, used in the actions column.
- Updated README examples
First alpha release, extracted from django-fluent-pages.
Simplified a lot of code to be tightly focused on the MPTT + Polymorphic code, and not bother with a plugin registration system.