Giter Site home page Giter Site logo

django-critical-css's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nacady

django-critical-css's Issues

Critical CSS creates a new page entry for every query string

Hi Magda, I hope you're doing well. Maybe there will be a possibility to reduce database entries. Critical CSS creates a new page entry for every query string:

Bildschirmfoto 2020-08-25 um 11 16 40

In this above example it will produce nearly 1000 entries. Do you think it will be better to reduce the entries?

Thanks, Sascha

Inline CSS not rendering

Hi, thank you for the project, im trying to implement it but when it runs I don't see any feedback/errors (added CRITICAL_CSS_VERBOSE in settings just in case to no avail), but the only thing that renders is a normal link to my css file:

template: {% critical_css "css/style2.css" %}
rendered on page:

Is there another flag to activate the debug and see if there is any issue that could be fixed?

-- Just adding that on DB I got NULL on CSS, and can access directly and generate critical via the penthouse service.

Thank you!

Jinja2 Template

Hi,

I am quite new to Python and Django in particular and really want to make use of this amazing package. The project is set up with jinja templates and I can't seem to find a way to use the template tags or a way to import the functionality and use it with custom template tag. I will appreciate some help on this one. Thanks!

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.