-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #420 - Switch to staticfiles_storage.url() to reference JS files
- Loading branch information
Showing
3 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2c254ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claudep This is a great step in the right direction :), but there are some JS files requested by
tinymce.min.js
itself (like the theme js file), and those fail for example in a setup where whitenoise serves the static files using hashes in their names. Any suggestions how to bypass that?2c254ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the first situation in a Django package where JS files called from other JS files are causing issues in Django. Unfortunately, I don't have any suggestion for now, I guess it might be very difficult to solve (if possible at all). Any ideas welcome.