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 #6735 -- Class based generic views: call for comment

Received: by 10.14.127.12 with SMTP id c12mr627021eei.1.1285946130335;
        Fri, 01 Oct 2010 08:15:30 -0700 (PDT)
X-BeenThere: django-developers@googlegroups.com
Received: by 10.14.14.140 with SMTP id d12ls247321eed.1.p; Fri, 01 Oct 2010
 08:15:17 -0700 (PDT)
Received: by 10.14.53.67 with SMTP id f43mr456067eec.23.1285946117810;
        Fri, 01 Oct 2010 08:15:17 -0700 (PDT)
Received: by 10.14.53.67 with SMTP id f43mr456066eec.23.1285946117773;
        Fri, 01 Oct 2010 08:15:17 -0700 (PDT)
Return-Path: <tob...@caktusgroup.com>
Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46])
        by gmr-mx.google.com with ESMTP id b5si1309192eei.0.2010.10.01.08.15.17;
        Fri, 01 Oct 2010 08:15:17 -0700 (PDT)
Received-SPF: pass (google.com: domain of tob...@caktusgroup.com designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of tob...@caktusgroup.com designates 209.85.215.46 as permitted sender) smtp.mail=tob...@caktusgroup.com
Received: by ewy23 with SMTP id 23so1275658ewy.19
        for <django-developers@googlegroups.com>; Fri, 01 Oct 2010 08:15:17 -0700 (PDT)
Received: by 10.213.105.148 with SMTP id t20mr5615395ebo.30.1285946117140;
 Fri, 01 Oct 2010 08:15:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.182.2 with HTTP; Fri, 1 Oct 2010 08:14:56 -0700 (PDT)
X-Originating-IP: [75.93.221.48]
In-Reply-To: <AANLkTi=Eo7CE-5XMd9sBVV_bCgHZBrrNibeyAmtjTwNy@mail.gmail.com>
References: <AANLkTinwthFS_bDUF-o_vYNf=QLkgJ-GMG2kCmZQk6Ec@mail.gmail.com>
 <AAC3DEEC-1631-44B9-AAA9-F3282AEBD782@googlemail.com> <10efed8e-8435-4edb-8ba0-0440e3eedc21@l6g2000yqb.googlegroups.com>
 <AANLkTi=Eo7CE-5XMd9sBVV_bCgHZBrrNibeyAmtjTwNy@mail.gmail.com>
From: Tobias McNulty <tob...@caktusgroup.com>
Date: Fri, 1 Oct 2010 11:14:56 -0400
Message-ID: <AANLkTimme0C8qm6iLPa8nLCR4zA9qi-1y4jUJ5t70mXZ@mail.gmail.com>
Subject: Re: #6735 -- Class based generic views: call for comment
To: django-developers@googlegroups.com
Content-Type: multipart/alternative; boundary=0015174c3f32832ffe04918fa930

--0015174c3f32832ffe04918fa930
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Oct 1, 2010 at 9:55 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:

> On Fri, Oct 1, 2010 at 9:53 AM, Vinay Sajip <vinay_sa...@yahoo.co.uk>
> wrote:
> > It seems better to stress thread-safety dos and don'ts in the
> > documentation.
>
> Without wanting to beat a dead horse, I concur.  Fundamentally we need
> to have a little faith in your users, the admin has the exact same
> pattern of a single instance, and we haven't done anything special
> there.
>

+1

The thread safety issues certainly aren't insignificant, but I think they
can be solved by a big fat warning in the documentation.  I do prefer this
to the potentially false sense of security that copying the object may
involve.

Tobias
-- 
Tobias McNulty, Managing Partner
Caktus Consulting Group, LLC
http://www.caktusgroup.com

--0015174c3f32832ffe04918fa930
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Fri, Oct 1, 2010 at 9:55 AM, Alex Gaynor <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:alex.gay...@gmail.com" target=3D"_blank=
">alex.gay...@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">


<div><div></div><div>On Fri, Oct 1, 2010 at 9:53 AM, Vinay Sajip &lt;<a hre=
f=3D"mailto:vinay_sa...@yahoo.co.uk" target=3D"_blank">vinay_sa...@yahoo.co=
.uk</a>&gt; wrote:<br>
&gt; It seems better to stress thread-safety dos and don&#39;ts in the<br>
&gt; documentation.<br>
<br>
</div></div>Without wanting to beat a dead horse, I concur. =A0Fundamentall=
y we need<br>
to have a little faith in your users, the admin has the exact same<br>
pattern of a single instance, and we haven&#39;t done anything special<br>
there.<font color=3D"#888888"><br></font></blockquote></div><div><br></div>=
<p>+1</p><p>The thread safety issues certainly aren&#39;t insignificant, bu=
t I think they can be solved by a big fat warning in the documentation. =A0=
I do prefer this to the potentially false sense of security that copying th=
e object may involve.</p>


<p>Tobias<br>--=A0<br>Tobias McNulty, Managing Partner<br>Caktus Consulting=
 Group, LLC<br><a href=3D"http://www.caktusgroup.com" target=3D"_blank">htt=
p://www.caktusgroup.com</a></p>

--0015174c3f32832ffe04918fa930--