From: Paul Walsh <paulywa...@gmail.com>
Date: Wed, 31 Oct 2012 06:18:00 -0700 (PDT)
Subject: Re: [pyweb-il:3717] Getting the original object from a proxy in Python
ok yes, I am using the pk now, so I guess this is the way to do it. thanks. On Wednesday, 31 October 2012 13:19:27 UTC+2, Shai wrote:
> On Wednesday 31 October 2012 10:29:50 Paul Walsh wrote: > > In a few cases, however, I need to do things like check equality with > > I can do this by checking equality on class properties, where that > With Django objects you can usually rely on the pk property (except if > > I wonder if there is a better practice in python. I found some > That, simply, won't work -- such a method will return the dynamic self > HTH, 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.
| ||||||||||||||