Skip to main content

A simple way to add Header LINK

Project description

# django_http2_push

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

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 `static`.

![template_html](docs/images/template_html.png)

![header](docs/images/header_done.png)



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_http2_push-0.0b2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

django_http2_push-0.0b2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file django_http2_push-0.0b2.tar.gz.

File metadata

  • Download URL: django_http2_push-0.0b2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for django_http2_push-0.0b2.tar.gz
Algorithm Hash digest
SHA256 77ea0ec0733ded828d7596e2475d541ff40434b706f9c22265ba1e4591067b25
MD5 c9b56b48432806d8869b2ef5b72bbcab
BLAKE2b-256 69db59279015e5b1558e971e7d9f982dfc8577037fbc84b23123632e180630bd

See more details on using hashes here.

File details

Details for the file django_http2_push-0.0b2-py3-none-any.whl.

File metadata

  • Download URL: django_http2_push-0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for django_http2_push-0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 df8d34136386315e440b2d5d83a999709e5175ac1c1b16f582c3a2ea771036bf
MD5 dff76911e9f01ab0124359f8efbf7e32
BLAKE2b-256 f93394a5b30a0c2d27e21c8f93c5ed084808ce59ffa69d423b2578dac4f1929c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page