From: "Tane Piper" <digitalspaghe...@googlemail.com>
Date: Sun, 13 Apr 2008 13:34:51 +0100
Local: Sun, Apr 13 2008 10:34 pm
Subject: Re: Overriding returned contents of user objects
Hi again,
I seem to have come a cropper with this. Although it returns the projects = [project for project in Project.projects.all() if if I try do: projects = [project for project in I get this error: 'dict' object has no attribute 'get_permissions' I have tried passing it as a field but it comes back that it doesn't On Sun, Apr 13, 2008 at 12:56 PM, Tane Piper <digitalspaghe...@googlemail.com> wrote: -- > Hi Malcolm, > values() seems to be the way to go for now. I've extracted some of > On Sun, Apr 13, 2008 at 11:59 AM, Malcolm Tredinnick > > On Sun, 2008-04-13 at 11:46 +0100, Tane Piper wrote: > > > What I want to > > Not really, unless you use values(). For any model, if the Python object > > > I'm sure there is a need for it when doing > > Login isn't the only time when the password hash might be needed (for > > It might make sense in your situation to just pull back the values() > > Regards, > > -- > -- > This email is: [ ] blogable [ x ] ask first [ ] private Tane Piper Blog - http://digitalspaghetti.me.uk Skype: digitalspaghetti This email is: [ ] blogable [ x ] ask first [ ] private 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.
| ||||||||||||||