django-http2-push

A simple way to add Header LINK


Keywords
django, http2-push, python
License
MIT
Install
pip install django-http2-push==0.0b2

Documentation

django_http2_push

Build Status Coverage Status Codacy Badge Maintainability Updates Python 3 Code style: black

A simple way to add Header LINK

Install

pip install django_http2_push

Update your settings.py

INSTALLED_APPS = [
    ...
    "django_http2_push",
    ...
]

MIDDLEWARE = [
    ...
    "django_http2_push.middleware.PushHttp2Middleware",
    ...
]

Usage

In the templates now use static_push instead of staticfiles.

template_html

header