0

I want to open a html file of a Django application, in a javascript.

document.getElementById("iframe_id").src = "{% url 'application/file.html' %}";

I receive the error :

Exception Type: NoReverseMatch Exception Value:

Reverse for 'application/file.html' not found. 'application/file.html' is not a valid view function or pattern name.

QDex
  • 67
  • 8

0 Answers0