Skip to content

Compatible with other django 3rd party apps #104

@achillis2

Description

@achillis2

It seems the current version is not compatible with other django apps, such as Django-guardian. Only the first mixin will show up in the admin page. If I put the django-fsm-admin in front of django-guardian mixin, then only django-fsm-admin buttons will show. How can I use both packages on the admin page?

For example, this code will show django-fsm-admin buttons only.

class PIAFormAdmin(FSMTransitionMixin, GuardedModelAdmin)

This will show django-guardian buttons only

class PIAFormAdmin(GuardedModelAdmin, FSMTransitionMixin)

So the order matters. But I want to show buttons from both packages on the admin page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions