GithubHelp home page GithubHelp logo

js missing in packaging about pinax-blog HOT 6 CLOSED

shaib avatar shaib commented on August 24, 2024
js missing in packaging

from pinax-blog.

Comments (6)

pjmcdermott avatar pjmcdermott commented on August 24, 2024

Confirmed: I have also experienced this

from pinax-blog.

grahamu avatar grahamu commented on August 24, 2024

I wonder if the fix is as simple as

  • relocate admin_post_form.js to static/src/js/, as seen here
  • update the appconf ADMIN_JS location to "src/js/admin_post_form.js" here

Then publish a new version, instructing upgrading users to npm install or whatever (I'm not sure!) after upgrading. How does that sound @paltman?

from pinax-blog.

paltman avatar paltman commented on August 24, 2024

I've thought about actually removing it and providing instructions on how to add it with a gist of sample js.

from pinax-blog.

paltman avatar paltman commented on August 24, 2024

What I really want to see happen for pinax-blog is an authoring interface outside of the Django admin.

from pinax-blog.

pjmcdermott avatar pjmcdermott commented on August 24, 2024

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.

from pinax-blog.

paltman avatar paltman commented on August 24, 2024

Fixed in v7.0.4 (just pushed to PyPI)

from pinax-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.