You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the dashboard.html file which is inside bookmarks/account/templates/account/dashboard.html has the below paragraph:
<p>Drag the following button to your bookmarks toolbar to bookmark images from other websites → <a href="javascript:{% include "bookmarklet_launcher.js" %}" class="button">Bookmark it</a></p>
But this bookmarklet_launcher.js file is inside another django app - bookmarks/images/templates/bookmarklet_launcher.js.
And I understand why this is happening. As how can I refer to a template that is not even in the same application. Plus, this is a .js file and not an html template, yet we have done a include template tag.
I am confused and have no idea, how to move forward.
The text was updated successfully, but these errors were encountered:
I have the same problem.
I moved the bookmarklet_launcher.js to the same directory as dashboard.html and it seems to work but i'm not able to see images in the popup bookmarklet to select some for bookmarking.
In the dashboard.html file which is inside bookmarks/account/templates/account/dashboard.html has the below paragraph:
But this bookmarklet_launcher.js file is inside another django app - bookmarks/images/templates/bookmarklet_launcher.js.
When I run my Django app, I get the below error:
And I understand why this is happening. As how can I refer to a template that is not even in the same application. Plus, this is a
.js
file and not an html template, yet we have done ainclude
template tag.I am confused and have no idea, how to move forward.
The text was updated successfully, but these errors were encountered: