Skip to main content
Latest Version Coverage Status Documentation Status https://travis-ci.org/lenarother/django-critical-css.svg?branch=master
django-critical-css speeds up webpage rendering by saving

critical css in a database.

Features

  • critical_css templatetag to inline critical css from the database.

  • empty_critical_css management command.

  • signal for emptying critical css upon page publication when using django-cms.

Requirements

Prepare for development

A Python 3.6 interpreter is required in addition to pipenv.

$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .

Now you’re ready to run the tests:

$ pipenv run py.test

Resources

Release files for django-critical-css 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-critical-css 0.0.3
File Size Uploaded
django-critical-css-0.0.3.tar.gz 8.9 kB Details

Release files / django-critical-css-0.0.3.tar.gz

Download URL django-critical-css-0.0.3.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7eebd55392811f31a917882fd8010abfeb4b6ff34b66b85d987308ec744482b8
BLAKE2b-256 checksum
How to use checksums
8dc50d9d115bff90d303d4a4a72ed671e6230c08cb6982377f25059bdc8a2ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page