Bug: Incorrect template directory name (develop branch)
cspollar opened this issue · 1 comments
cspollar commented
When using wagtail-trash (pip install wagtail-trash
) I get the following exception after clicking the "Restore and Move" button.
TemplateDoesNotExist at /cms/wagtail_trash/restore_and_move/2173/
wagtail_trash/move.html
Request Method: GET
Request URL: http://127.0.0.1:8000/cms/wagtail_trash/restore_and_move/2173/
Django Version: 3.2.3
Exception Type: TemplateDoesNotExist
Exception Value:
wagtail_trash/move.html
Solution
Rename template directory wagtail_recycle_bin
to wagtail_trash
as named in views.py