Hi guys,
Should TabularDynamicInlineAdmin allow ordering on an inline class whose
model subclasses Orderable?
For instance, *admin.py*:
from mezzanine.core.admin import TabularDynamicInlineAdmin
from .models import Card
class CardInlineAdmin(TabularDynamicInlineAdmin):
model = Card.pages.through
from mezzanine.pages.admin import PageAdmin
PageAdmin.inlines += (CardInlineAdmin,)
*models.py*:
class Card(Displayable, RichText, Orderable):
pages = models.ManyToManyField(Page)
class Meta:
...
This yields the correct Tabular inline on the PageAdmin model, but doesn't
let me drag'n'drop to order.
Am I going about this the wrong way?
Thanks
Sam
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.