Django package to support both HTTP and HTTPS as runserver command
Project description
https-saleor-dev-local
Django package to support both HTTP and HTTPS as runserver command
Usage
- Install this package in you Django project
pip install django-sslserver
- Update Django's
settings.py
INSTALLED_APPS = (...
'sslserver2',
...
)
- Execute you Django server:
python manage.py runsslserver2 --certificate cert.pem --key key.pem
Development
Requirements
Update requirements.txt
As this project uses Pipenv on development, to keep compatibility with other
environments is recommended to generate the corresponding requirements.txt
file on every integration.
Run the following command to generate or overwrite the requirements.txt
file:
pipenv lock -r > requirements.txt
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
Built Distribution
Close
Hashes for django_sslserver2-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df349488d218c27fade2e6a1325a79b209778b3e53f9e42f2d96eb687690761 |
|
MD5 | c0e2448dee385e56823eab5de0792d13 |
|
BLAKE2b-256 | 327b13e09b86db040c2b27bfd3154bc4b566c4939a24ebefde2becb827240f91 |