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.3.tar.gz (2.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: django-envfile-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4497134b082e1b2e428f530565a9543192fde9a2ba0d1d5774f2c84aae93cc16
MD5 6fa211ea375adc7ba9f1e4a8b2890b72
BLAKE2b-256 6ce179421dd8e112aff88ca0a149f470026e1b4745f3f247e18a0cf73af11972

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