Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Django ACME

NOT MAINTAINED ANYMORE

This project isn’t maintained anymore, django-letsencrypt serves the same purpose but with a more features. Please use that instead.

https://badge.fury.io/py/django-acme.svg https://travis-ci.org/browniebroke/django-acme.svg?branch=master https://codecov.io/gh/browniebroke/django-acme/branch/master/graph/badge.svg

A re-usable Django app to quickly deploy a page for the ACME challenge

Documentation

The full documentation is at https://django-acme.readthedocs.io.

Quickstart

Install Django ACME:

pip install django-acme

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'acme_challenge',
    ...
)

Add the Django ACME’s URL patterns:

from acme_challenge import urls as acme_challenge_urls


urlpatterns = [
    ...
    url(r'^', include(acme_challenge_urls)),
    ...
]

The URL of the ACME challenge to serve as well as the content are controlled via 2 settings which default to:

ACME_CHALLENGE_URL_SLUG = os.getenv('ACME_CHALLENGE_URL_SLUG')
ACME_CHALLENGE_TEMPLATE_CONTENT = os.getenv('ACME_CHALLENGE_TEMPLATE_CONTENT')

The slug being the suffix of the URL path: /.well-known/acme-challenge/[ACME_CHALLENGE_URL_SLUG]/

Features

  • TODO

Running Tests

Does the code actually work? This projects uses tox:

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox [-e py27-django18]

Credits

Tools used in rendering this package:

History

0.2.1 (2016-11-25)

  • Settings are taken from the environment variables by default

0.2.0 (2016-11-17)

  • The root URL includes the .well-known/acme-challenge/ prefix.

  • Accept an optional / at the end of the URL

  • Updated documentation

0.1.3 (2016-11-17)

  • Bump version, various minor docs updates

0.1.0 (2016-11-16)

  • First release on PyPI.

Release files for django-acme 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-acme 0.2.4
File Size Uploaded
django-acme-0.2.4.tar.gz 5.8 kB Details

Release files / django-acme-0.2.4.tar.gz

Download URL django-acme-0.2.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c84b5568899d79063ca9643314976c5e14af3e109c8bfb1a3d45b7590dab35cf
BLAKE2b-256 checksum
How to use checksums
5d1732c3af906e07e4ba9f42b124f964dd99ecf8a087b06b5d6d27e76ac34c4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page