Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How about an annotated settings file?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adrian Holovaty  
View profile  
 More options Feb 17 2006, 7:31 pm
From: "Adrian Holovaty" <holov...@gmail.com>
Date: Fri, 17 Feb 2006 19:31:28 -0500
Local: Fri, Feb 17 2006 7:31 pm
Subject: Re: How about an annotated settings file?
On 2/17/06, pbx <paul.bis...@gmail.com> wrote:

> That got me thinking: How about annotating the default settings file to
> describe all available settings? I'm talking about something along the
> lines of Apache's default httpd.conf.

Note that django/conf/global_settings.py holds the default values for
every setting, and it's annotated. Of course, you don't edit that
file, so the annotation is mainly for Django developers rather than
Django users. The default settings.py file that's generated for
"django-admin.py startproject" just contains the basic settings that
most people will probably want to change.

So the question is, do we give the generated settings.py file all the
possible settings, or does it continue to have just the settings that
are commonly changed? I really could go either way on this.

Whatever we do, I like the idea Paul mentioned that we could generate
an intelligent "diff" of the settings to find out which settings
aren't default. Very cool!

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.