.. image:: https://img.shields.io/pypi/v/django-critical-css.svg :target: https://pypi.org/project/django-critical-css/ :alt: Latest Version
.. image:: https://codecov.io/gh/lenarother/django-critical-css/branch/master/graph/badge.svg :target: https://codecov.io/gh/lenarother/django-critical-css :alt: Coverage Status
.. image:: https://readthedocs.org/projects/django-critical-css/badge/?version=latest :target: https://django-critical-css.readthedocs.io/en/stable/?badge=latest :alt: Documentation Status
.. image:: https://travis-ci.org/lenarother/django-critical-css.svg?branch=master :target: https://travis-ci.org/lenarother/django-critical-css
django-critical-css speeds up webpage rendering by saving
critical css <https://www.phpied.com/css-and-the-critical-path/>
_ in a database.
critical_css
templatetag to inline critical css from the database.empty_critical_css
management command.requests <https://github.com/requests/requests/>
_django-rq <https://github.com/rq/django-rq/>
_django-inline-static <https://github.com/moccu/django-inline-static/>
_A Python 3.6 interpreter is required in addition to pipenv.
.. code-block:: shell
$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .
Now you're ready to run the tests:
.. code-block:: shell
$ pipenv run py.test
Documentation <https://django-critical-css.readthedocs.io>
_Bug Tracker <https://github.com/lenarother/django-critical-css/issues>
_Code <https://github.com/lenarother/django-critical-css/>
_