- 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.