Skip to main content

handle the environment variables as from a file in a simpler way.

Project description

A small library allows you in Dajngo

pip install django-envfile==0.1.2

Created file .env

DJANGO_SECRET_KEY="ko8n3#^m#67+p@bvx#1xp0om+!zo@&l8-*8n(c#47n)=!3t$hd"
DJANGO_DATABASE_HOST=database
DJANGO_DATABASE_NAME=cerezo_master

In settings.py

from pathlib import Path
from envfile import loadenv

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

django-envfile-0.1.4.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file django-envfile-0.1.4.tar.gz.

File metadata

  • Download URL: django-envfile-0.1.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for django-envfile-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d391c72c92e768387d75187daf00e77f712d585f690d34186d46c982032a55ed
MD5 6796ce5ac19e551415b19f6b1c986df6
BLAKE2b-256 7a7be48d3418161e15b38aaeef9ef62dbcf8baa303fbae4ffcb99d941b4ca545

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page