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 Virtualenvs and editing contrib stuff manually

Received: by 10.180.75.197 with SMTP id e5mr104613wiw.1.1348882183854;
        Fri, 28 Sep 2012 18:29:43 -0700 (PDT)
X-BeenThere: django-users@googlegroups.com
Received: by 10.180.105.1 with SMTP id gi1ls2612324wib.2.canary; Fri, 28 Sep
 2012 18:28:39 -0700 (PDT)
Received: by 10.180.86.97 with SMTP id o1mr102975wiz.2.1348882119203;
        Fri, 28 Sep 2012 18:28:39 -0700 (PDT)
Received: by 10.180.86.97 with SMTP id o1mr102974wiz.2.1348882119192;
        Fri, 28 Sep 2012 18:28:39 -0700 (PDT)
Return-Path: <freakboy3...@gmail.com>
Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47])
        by gmr-mx.google.com with ESMTPS id b5si128399wie.2.2012.09.28.18.28.39
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 28 Sep 2012 18:28:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of freakboy3...@gmail.com designates 74.125.82.47 as permitted sender) client-ip=74.125.82.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of freakboy3...@gmail.com designates 74.125.82.47 as permitted sender) smtp.mail=freakboy3...@gmail.com; dkim=pass header...@gmail.com
Received: by wgbge7 with SMTP id ge7so1659104wgb.28
        for <django-users@googlegroups.com>; Fri, 28 Sep 2012 18:28:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=VfRS5+/9ULooiCwaKSJTmVJKmnsnZfNVqx2N1ctZo4w=;
        b=IPvfsrFtL4lqrPL4JCxLhTmxW5Xo9N0YwqGXx14XYN1cWwHr0tC5JWj6+uqwNfO5kq
         RviDFDAill2ybn0O9CSScahrZBkCsghAlWUUPjHMCjb3myXVlvomCdFfa9vBBd7iJrCL
         kF8+Z2/dTG3fba7IqgcGgu2SdksBLI9ChsfamFt73iKjJeAEvyCdbluVOHjf0w7JLJWF
         P0rO9AJwbg+BwXQrkQcM+TkfYB7YWGec0dkh0JgpZbMA1KZvsb8PRtgCevanSoqwA52N
         N97p/0CidId+KN8qqx0l3U7wH/+ia1xb723yUp1euZBVwIDaNOaOu26i44An54Gywf/Q
         utkw==
MIME-Version: 1.0
Received: by 10.180.79.100 with SMTP id i4mr971186wix.12.1348882118984; Fri,
 28 Sep 2012 18:28:38 -0700 (PDT)
Sender: freakboy3...@gmail.com
Received: by 10.223.155.193 with HTTP; Fri, 28 Sep 2012 18:28:38 -0700 (PDT)
In-Reply-To: <56ffabd8-52fd-4be7-9724-250d1f5170e6@googlegroups.com>
References: <8136e535-e507-4792-8109-c31c2d124d61@googlegroups.com>
	<CA+WjgXMpue1UbKVoDzYRnz+aUKS9G_8WazGxb4cL6Mrdwzs...@mail.gmail.com>
	<56ffabd8-52fd-4be7-9724-250d1f5170e6@googlegroups.com>
Date: Sat, 29 Sep 2012 09:28:38 +0800
Message-ID: <CAJxq84-fML2-QXJwx5Fzz1dSpbCgvdtR89Y9=pVj=i3Ra7n...@mail.gmail.com>
Subject: Re: Virtualenvs and editing contrib stuff manually
From: Russell Keith-Magee <russ...@keith-magee.com>
To: django-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Sep 28, 2012 at 10:04 PM, Chris Pagnutti
<chris.pagnu...@gmail.com> wrote:
> Right on.  Thanks for your replies.  Since my change to the
> contrib.auth.User class is so minor, I'll just make a note of it and wait
> for the official release of 1.5.
>
> So, with the official way of changing the User class, in order to make
> different "kinds" of users, would you just use groups and permissions?
>

It's entirely up to you and your needs. If your "kinds" are
group-like, and it's possible for people to be in different groups,
then using groups might be appropriate. If it's as simple as "this
person is type X OR Y OR Z, then adding a choice field to your user
model may be appropriate.

The point is that in 1.5, your user model is entirely under your own
control. If you want your user to be compatible with Django's login
forms, or more importantly, the admin, there are some requirements you
need to meet, but these aren't too onerous.

Yours,
Russ Magee %-)