Projet

Général

Profil

Bug #6515

Use a project specific environment variable name for local settings file

Ajouté par Frédéric Péters il y a environ 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
15 février 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

This brings authentic in sync with our other projects; mostly it helps with running the hobo worker on a server with different applications (need to set environment variables for config files for multiple applications, hence need to have different names).


Fichiers

Historique

#1

Mis à jour par Frédéric Péters il y a environ 9 ans

#2

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Statut changé de En cours à Solution déployée

A commit alike was already on its way (c43721be5e), I modified it to use your proposed name for the variable. But I'm against the removal of the --config option, as it was asked for by real users, and adding a default value loading local_settings.py because I do not see the point, especially when it's not in at the project root like in regular django projects.

#3

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Version cible mis à 2.1.12
#4

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF