Opened 2 days ago

Closed 2 days ago

#36285 closed New feature (wontfix)

Generate a Sample Configuration File (.env.example) for Django Projects

Reported by: wahagnonan Owned by:
Component: Core (Other) Version: dev
Severity: Normal Keywords: .env
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This proposal automates the creation of a .env.example file when using django-admin startproject. It eliminates manual environment configuration by providing a pre-populated file with sample settings that adhere to 12 Factor App principles. Deliverables include the file generation feature, supporting tests, and updated documentation.

Change History (1)

comment:1 by Natalia Bidart, 2 days ago

Component: UncategorizedCore (Other)
Resolution: wontfix
Status: newclosed
Version: 5.1dev

Hello wahagnonan. Thank you for your suggestion, but I don't think this is a good fit for Django, since environment configuration is intentionally left to the project level rather than being enforced by the framework.

If you disagree, the recommended path forward for new feature ideas is to first propose and discuss them with the community to build consensus. To do that, please start a conversation on the Django Forum, where you'll reach a broader audience and receive additional feedback.

I'll close this ticket for now, but if the community agrees with the proposal, feel free to return and reference the forum discussion so we can re-open it. For more details, please refer to tthe documented guidelines for requesting features.

Thanks again for your interest in improving Django!

Note: See TracTickets for help on using tickets.
Back to Top