Git Product home page Git Product logo

Comments (5)

PouyaEsmaili avatar PouyaEsmaili commented on July 20, 2024 1

I think you are still missing the templates directory on the package.

from django-approval.

artscoop avatar artscoop commented on July 20, 2024

You're absolutely right and it happened on another project I worked on recently. I made a change in pyproject.toml to use hatchling, and tried things in order to properly include the code packages. It ended up working properly (namespaces also), and I only recently noticed it did not work at all on other machines.

I'm looking at it, I'll hit you up when it's fixed. Thanks for the alert.

from django-approval.

artscoop avatar artscoop commented on July 20, 2024

I think I got it. Python packaging is an infamous nightmare, the issue was with:

  • using hatchling (the wheel generated was empty but the tar.gz was ok)
  • using setuptools (I had to use the default layout for anything to work)

Tell me if this looks fixed for you.

from django-approval.

PouyaEsmaili avatar PouyaEsmaili commented on July 20, 2024

It's fixed. thanks.

from django-approval.

artscoop avatar artscoop commented on July 20, 2024

For the record, I've just uploaded a new version on PyPI that fixes the templates folder and only displays warning in the admin if an object is not approved.

from django-approval.

Related Issues (7)

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.