Closed shaib closed 6 years ago
Confirmed: I have also experienced this
I wonder if the fix is as simple as
admin_post_form.js
to static/src/js/
, as seen hereADMIN_JS
location to "src/js/admin_post_form.js"
hereThen publish a new version, instructing upgrading users to npm install
or whatever (I'm not sure!) after upgrading. How does that sound @paltman?
I've thought about actually removing it and providing instructions on how to add it with a gist of sample js.
What I really want to see happen for pinax-blog
is an authoring interface outside of the Django admin.
Isn't the issue simply that the javascript file is not making it into the pypi package? django.contrib.staticfiles.finders.AppDirectoriesFinder
provides a perfectly good mechanism to move JS files into a central location.
I don't understand the mechanism, but my pip
installed version of pinax-blog
simply doesn't have the static
folder.
Fixed in v7.0.4 (just pushed to PyPI)
This is mostly a continuation of #103 -- that issue was closed because the HTML templates are, indeed, in
pinax.templates
. However,static/js/admin_post_form.js
which was also mentioned there, is not inpinax.templates
, is included in this git repo, and is missing -- at least by default; we've had to install it manually to prevent errors at the post admin page.I think it needs to be included.