On Mon, Mar 2, 2009 at 11:55 PM, Shai Berger <[email protected]> wrote: > > Hi Django developers, > > This is my first message here. I wish to resurrect Application (default) > settings modules -- a topic that has been discussed here several times. I > bring it up because I believe its current resolution is inadequate (hence it > keeps coming up) and I think I have a new way to solve it. I have detailed it > in a comment on the bug (http://code.djangoproject.com/ticket/1371#comment:8 > -- where I also stepped out of line and reopened it, for which I apologize); I > repeat it here (slightly edited) for your convenience.
Anyone is free to suggest anything. However, I would point out that: 1) Now isn't the time in the Django development cycle for new proposals. We are currently in the final stages of preparing the v1.1 release. Once the v1.1 release is finished, the feature proposal cycle for v1.2 will begin. If you wait a bit, you'll find you get more attention for your proposals. 2) This idea has been previously rejected as an idea by a core developer, and his proposal is only partially related to the implementation. When Jacob rejected the idea, he said "Just document the settings your app needs and raise exceptions if it doesn't find 'em." Your proposal spends a lot of time on the how, but not a lot of time on the why - that is, why is the idea is required in the first place. In order for a proposal to be accepted, you don't just need to address the how - the why is much more important. In particular, you need to explain why a complex, Django-specific framework for importing defaults is preferable to: >>> from django.conf import settings >>> from app.defaults import APP_DEFAULT >>> getattr(settings, 'APP_SETTING', APP_DEFAULT) or simply requiring at an application level that APP_SETTING be provided. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
