Hi Vernon,

On 03/07/2014 07:44 PM, VernonCole wrote:
> Several months ago, I floated an idea on this forum for re-structuring
> the settings.py environment.
> 
> It generated a fair amount of discussion.  The consensus was that
> something really ought to be done, but no one was sure just what.

There was not consensus that "something really ought to be done." I was
part of that discussion, and my opinion was (and still is) that nothing
needs to be done (in Django core).

(For reference, a link to that discussion:
https://groups.google.com/d/topic/django-developers/O89Qb_9pwmo/discussion )

Your proposed technique covers a lot of options - that's great. It works
fine without any changes to Django, and you can package it up as a
startproject template, use it, and promote it.

I think the default startproject template should remain as simple as
possible (that is, a single-file settings.py) and not try to provide all
possible ways of handling multiple-deployment settings.

Carl

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to