django-direct - A RESTFul API for Direct Certificate Discovery
django-direct is a simple Django application that provides a RESTFul API to validate and fetch Direct x509 certificate via LDAP and DNS.
Detailed documentation for using the API is in the "docs" directory. Installation instructions are below.
Pip install django-direct:
pip install django-direct
Add "direct" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'direct', )
Include the direct URLconf in your project urls.py like this:
Add the static content to your app:
python manage.py collectstatic
There are no models in this application so there is no migration step.
6. Use the APIs. Visit http://127.0.0.1:8000/direct/ to verify the installation and for more information. See the docs folder for more information.
Production configuration is out of scope fo this document. See https://docs.djangoproject.com/en/1.9/howto/deployment/ for more info.