A Django app to private security.txt details
Project description
https://securitytxt.org/ A proposed standard which allows websites to define security policies.
based on: https://adamj.eu/tech/2020/06/28/how-to-add-a-well-known-url-to-your-django-site/
Quick start
Add “polls” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'wellknown_security', ]
Include the polls URLconf in your project urls.py like this:
path('.wll-known/', include('wellknown_security.urls')),
Add at least the contact info to settings.py
WELLKNOWN_SECURITY_CONTACT = “contact@tld.org”
Start the development server and visit http://127.0.0.1:8000/.well-known/security.txt to check the results
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
Close
Hashes for django-wellknown-security-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f956ceefa43df7c79f2fb59c0ad2732be5dae650ec244f50cd8d4e002c318a00 |
|
MD5 | d7890f1e3a09753e17f9250d387bf41d |
|
BLAKE2b-256 | 46f66c50b48b85b03d3b39561829528ec9bd909419dec52b8ca8eb8aec2ed4d0 |