https://github.com/ricardochaves/django_http2_push
A simple way to add Header LINK
https://github.com/ricardochaves/django_http2_push
django http2-push python
Last synced: about 1 year ago
JSON representation
A simple way to add Header LINK
- Host: GitHub
- URL: https://github.com/ricardochaves/django_http2_push
- Owner: ricardochaves
- License: mit
- Created: 2018-09-22T13:39:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-20T20:11:10.000Z (over 4 years ago)
- Last Synced: 2025-04-18T06:51:13.028Z (about 1 year ago)
- Topics: django, http2-push, python
- Language: Python
- Size: 55.7 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django_http2_push
[](https://travis-ci.org/ricardochaves/django_http2_push) [](https://coveralls.io/github/ricardochaves/django_http2_push?branch=master) [](https://app.codacy.com/app/ricardochaves/django_http2_push?utm_source=github.com&utm_medium=referral&utm_content=ricardochaves/django_http2_push&utm_campaign=Badge_Grade_Dashboard) [](https://codeclimate.com/github/ricardochaves/django_http2_push/maintainability)
[](https://pyup.io/repos/github/ricardochaves/django_http2_push/) [](https://pyup.io/repos/github/ricardochaves/django_http2_push/) [](https://github.com/ambv/black)
[](https://github.com/ricardochaves/django_http2_push/blob/master/LICENSE) [](https://badge.fury.io/py/django-http2-push) [](https://pepy.tech/project/django-http2-push) [](https://pepy.tech/project/django-http2-push) [](https://pepy.tech/project/django-http2-push) [](https://saythanks.io/to/ricardochaves)
A simple way to add Header LINK
## Install
```bash
pip install django_http2_push
```
Update your `settings.py`
```python
INSTALLED_APPS = [
...
"django_http2_push",
...
]
MIDDLEWARE = [
...
"django_http2_push.middleware.PushHttp2Middleware",
...
]
```
## Usage
In the templates now use `static_push` instead of `staticfiles`.

