Skip to content

adminsortable2 - TemplateNotFound #360

@belthaZornv

Description

@belthaZornv

After installing the library, and adding to the apps and all the necessities; I've been faced with this error:

TemplateDoesNotExist at /platform/flow/flow/add/
adminsortable2/edit_inline/tabular-django-3.2.html

That seems to come from this:

class SortableTabularInline(SortableInlineAdminMixin, admin.TabularInline):
    template = 'adminsortable2/edit_inline/tabular-django-{0}.{1}.html'.format(*DJANGO_VERSION)

Is there something I'm missing?

My code:

class FlowActionInline(SortableTabularInline, admin.TabularInline):
    fields = ('action',)

    model = FlowAction

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpythonPull requests that update Python code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions