Message from discussion
Fixing app_label
Received: by 10.114.157.1 with SMTP id f1mr454027wae.1196885816213;
Wed, 05 Dec 2007 12:16:56 -0800 (PST)
Return-Path: <jkocherh...@gmail.com>
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169])
by mx.google.com with ESMTP id k36si1872507waf.2007.12.05.12.16.47;
Wed, 05 Dec 2007 12:16:54 -0800 (PST)
Received-SPF: pass (google.com: domain of jkocherh...@gmail.com designates 66.249.92.169 as permitted sender) client-ip=66.249.92.169;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of jkocherh...@gmail.com designates 66.249.92.169 as permitted sender) smtp.mail=jkocherh...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by ug-out-1314.google.com with SMTP id z38so556896ugc
for <django-developers@googlegroups.com>; Wed, 05 Dec 2007 12:16:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
bh=llCaJ8GvaGC1yfQFSXImPzl8jWeLypQrze6l15iho60=;
b=Pe4h852nQmHaxaH24DhKW1fnLiLXKHng9HZ85iCdj5Gd2m+c5hC+OP1ccE2ZqEicDs6yK3yl30VTYAeGp5Ybkei/dv745ZcscUFXPxLBjV/cqlD/160vp8g2mXBwd+f9X9hC/YXbAna4QOoq64uB7tvj9WBf9wWhxBaB1bztxNw=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
b=r1KrmyQRT5S8UMvtjgisncC/tTultJ8kz1OLTWs29yhuC+pu4F/nO+HoGzek9JzUrwUg3eAJUVQ8BpRaSC5PnisWAGwm9M7v+Nk/tsCWFrh9dgheNDYiMKNDEJcEMWcW6N6CxJDt1KkIC90BXsRLmb3M4FX/67EtwjMQR8HmTuE=
Received: by 10.67.119.15 with SMTP id w15mr2461107ugm.1196885804574;
Wed, 05 Dec 2007 12:16:44 -0800 (PST)
Received: by 10.67.10.11 with HTTP; Wed, 5 Dec 2007 12:16:44 -0800 (PST)
Message-ID: <c90890f0712051216i2bc97bb1m58f60673cd29fbfb@mail.gmail.com>
Date: Wed, 5 Dec 2007 14:16:44 -0600
From: "Joseph Kocherhans" <jkocherh...@gmail.com>
To: django-developers@googlegroups.com
Subject: Re: Fixing app_label
In-Reply-To: <475705D3.5060...@SoftwareManiacs.Org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <be4ebbe10712050955x20e7b084y1e74c7c2c1f25...@mail.gmail.com>
<6464bab0712051148g16e357fcn9e06bb5cf0c79...@mail.gmail.com>
<475705D3.5060...@SoftwareManiacs.Org>
On 12/5/07, Ivan Sagalaev <Man...@softwaremaniacs.org> wrote:
>
> Adrian Holovaty wrote:
> > The settings file syntax could look like this:
> >
> > INSTALLED_APPS = AppCollection(
> > App('django.contrib.admin'),
> > App('ellington.news'),
> > )
>
> Why not also use actual module objects here instead of strings like with
> view functions in urlconfs?
I don't see the benefit. It makes sense for views so you can apply
decorators to them in your urls.py file. I'm not sure what you'd want
to do with a module. The less you actually import into your settings
file, the better IMO.
Joseph