django-polymorphic-tree
django-polymorphic-tree copied to clipboard
Polymorphic MPTT tree support for models
Please share any related document for integration, help with available features, possibilities, and functions, and How to's/
I read on the repo site of [django-mptt](https://github.com/django-mptt/django-mptt) that it is currently unmaintained. Will this have an impact on this project ?
When doing a `runtests.py` I get a failure, because apparently the secret key for django is empty. ``` warnings.warn( /usr/lib/python3.9/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be...
I am attempting to adjust code I have already written to work with polymorphic-tree and am failing to get it working. Base setup is ParentModel(PolymorphicMPTTModel): parent = PolymorphicTreeForeignKey('self', blank=True, null=True,...
I'm trying to modify a project to use `django-polymorphic-tree`. The project has 4 models (called `A`, `B`, `C`, `D`) all derived from a base model (called `Component`). Each `A` instance...
Would it be possible to provide some kind of documentation (either in the project README, in a GitHub Wiki page or any other form) on how to integrate `django-polymorphic-tree `with...
Hello, mptt added support for drag & drop in version 0.8.1 via the DraggableMPTTAdmin class: [http://django-mptt.github.io/django-mptt/admin.html#mptt-admin-draggablempttadmin](http://django-mptt.github.io/django-mptt/admin.html#mptt-admin-draggablempttadmin) Do you see yourselves supporting that?
Get Family only returns instances of the same type.
```python class Page(PolymorphicMPTTModel): parent = PolymorphicTreeForeignKey( to='self', blank=True, null=True, related_name='children', verbose_name='parent', on_delete=models.CASCADE ) title = models.CharField('Title', max_length=100) is_public = models.BooleanField(default=True) class HTMLPage(Page): pass class TypedPage(Page): pass ``` ```python page =...
My Tree is A --> B |_> C => X | =>Z |_>D But only run X, with Z give the error **can't multiply sequence by non-int of type 'NoneType'**...