Bad template name "modal_form.html"

Bug #1814257 reported by Marcos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloudkitty
New
Undecided
Unassigned

Bug Description

Cloudkitty-dashboard currently tries to use a template with the following name:

    template_name = 'horizon/common/modal_form.html'

In the following files (project cloudkittydashboard):

- dashboards/admin/hashmap/views.py
- dashboards/admin/modules/views.py

This is currently happening on the stable/rocky release of cloudkittydashboard (install from source), prompting an error "TemplateDoesNotExist", and rendering the given section non-usable.

Changing these strings to use "_modal_form.html" (note the "_" at the beggining) seems to work.
The file "modal_form.html" is not to be found on the horizon repository, but you can easily find "_modal_form.html".

Tags: template
Revision history for this message
Carlos Letamendía (ohwhyosa) wrote :

Thanks for the workaround! I did see that it used _ in the template names, but didn't occur to me to change it in the code!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.