mod: add django-environ for use .env for manage environment

This commit is contained in:
2026-02-15 15:33:29 +03:00
parent b5e9e85476
commit 53a5bce1dc
3 changed files with 20 additions and 1 deletions

18
poetry.lock generated
View File

@@ -56,6 +56,22 @@ tzdata = {version = "*", markers = "sys_platform == \"win32\""}
argon2 = ["argon2-cffi (>=23.1.0)"] argon2 = ["argon2-cffi (>=23.1.0)"]
bcrypt = ["bcrypt (>=4.1.1)"] bcrypt = ["bcrypt (>=4.1.1)"]
[[package]]
name = "django-environ"
version = "0.12.1"
description = "A package that allows you to utilize 12factor inspired environment variables to configure your Django application."
optional = false
python-versions = "<4,>=3.9"
files = [
{file = "django_environ-0.12.1-py2.py3-none-any.whl", hash = "sha256:064ba2d5082f833e6d7fe4def4928bde1eedc0248a417575da7db147aeec1c20"},
{file = "django_environ-0.12.1.tar.gz", hash = "sha256:22859c6e905ab7637fa3348d1787543bb4492f38d761104a3ce0519b7b752845"},
]
[package.extras]
develop = ["coverage[toml] (>=5.0a4)", "furo (>=2024.8.6)", "pytest (>=4.6.11)", "setuptools (>=71.0.0)", "sphinx (>=5.0)", "sphinx-notfound-page"]
docs = ["furo (>=2024.8.6)", "sphinx (>=5.0)", "sphinx-notfound-page"]
testing = ["coverage[toml] (>=5.0a4)", "pytest (>=4.6.11)", "setuptools (>=71.0.0)"]
[[package]] [[package]]
name = "django-taggit" name = "django-taggit"
version = "6.1.0" version = "6.1.0"
@@ -551,4 +567,4 @@ files = [
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.12" python-versions = "^3.12"
content-hash = "311f8a3db0d614a93002412a6d9b176dd83239c5d61c6a86a68697b040d94433" content-hash = "52e1781b6a9c2d36cbc489df80b56a23e5459ed3247c052b6e89287bcfbfb58b"

2
poetry.toml Normal file
View File

@@ -0,0 +1,2 @@
[virtualenvs]
in-project = true

View File

@@ -13,6 +13,7 @@ django-taggit = "^6.1.0"
pillow = "^12.1.1" pillow = "^12.1.1"
pytils = "^0.4.4" pytils = "^0.4.4"
etpgrf = "^0.1.4" etpgrf = "^0.1.4"
django-environ = "^0.12.1"
[build-system] [build-system]