Skip to content

Remove "environs" requirement from Django? #542

Open
@weslord

Description

Instances of env() can be replaced with os.environ.get().

load_dotenv(find_dotenv()) can be removed entirely.

The sample project does not include a .env file, and if it did, wouldn't it make more sense to handle that in compose.yaml with env_file: .env?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions