8000 GitHub - kheshav/django-http-451: Django implementation for HTTP451 · GitHub
[go: up one dir, main page]

Skip to content

About

Django implementation for HTTP451

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Http451

Http451 is a simple Django app that implements http451 on django. It implements the following IEFT RFC:

https://tools.ietf.org/html/rfc7725

https://tools.ietf.org/id/draft-sahib-451-new-protocol-elements-03.txt

Quick start

  1. Install http451 via pip :

pip install django-http-451

  1. Add 'http451' to your INSTALLED_APPS settings like:
INSTALLED_APPS = [

...

'http451',

]

  1. Add the following in your middleware
MIDDLEWARE = [

...

'http451.middleware.http451Middleware',

]

  1. Run python manage.py migrate to create the http451 models.
  2. Start the development server and visit the admin page
  3. Block a resource add it through the admin page http451 section

About

Django implementation for HTTP451

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0