Skip to content

django.template.exceptions.TemplateDoesNotExist: modeladmin/aboutus/distinguishtestimonial/index.html, #47

Description

@Aneemes

I tried to implement this library to some models in my wagtail project and it throws this error. I tried inheriting the models from wagtailorderable.models.Orderable and registered a wagtail_hooks. It even shows a new menu for the registered model on the wagtail admin sidebar but throws the following error upon loading it. It could be a compatibility issue.

Wagtail version - 5.0.2
Django version - 4.2.2
Python Version - 3.11.4

TemplateDoesNotExist at /admin/aboutus/distinguishtestimonial/
modeladmin/aboutus/distinguishtestimonial/index.html, modeladmin/aboutus/index.html, modeladmin/index.html
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/aboutus/distinguishtestimonial/
Django Version: 4.2.2
Exception Type: TemplateDoesNotExist
Exception Value:
modeladmin/aboutus/distinguishtestimonial/index.html, modeladmin/aboutus/index.html, modeladmin/index.html
Exception Location: C:\olenepal\env\Lib\site-packages\django\template\loader.py, line 47, in select_template
Raised during: wagtail.contrib.modeladmin.options.index_view
Python Executable: C:\olenepal\env\Scripts\python.exe
Python Version: 3.11.4
Python Path:
['C:\olenepal\olewebsite\src',
'C:\Users\OleNepal\AppData\Local\Programs\Python\Python311\python311.zip',
'C:\Users\OleNepal\AppData\Local\Programs\Python\Python311\DLLs',
'C:\Users\OleNepal\AppData\Local\Programs\Python\Python311\Lib',
'C:\Users\OleNepal\AppData\Local\Programs\Python\Python311',
'C:\olenepal\env',
'C:\olenepal\env\Lib\site-packages']
Server time: Mon, 11 Sep 2023 12:00:03 +0545

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions