> >>> z=Dic.objects.filter(DB_Word=worfromtext).distinct()
> >>> if not z.count(): print 'ERROR!'
First I want to thank all of you guys for posting here and for helping
me solving my problem, I feel really happy because I can rely on a
community this wise and helpful, and I want to give special
"Gerard M" <[EMAIL PROTECTED]> writes:
> I suppose this example works but I havent tried it, even tho im doing
> the same, I dont know what am I doing wrong, thanks for your time and
> help
You don't do a direct object access. Maybe the Exception is another
then. Try without the try/except claus
On 3/21/07, ZebZiggle <[EMAIL PROTECTED]> wrote:
> I'm going to have to deal with this, so here's what I'm thinking: some
> sort of helper function that will do a filter() but act as a .get() in
> that it only returns 1, but in the event more than 1 comes back notify
> the admin that the integrity
Hey all!
I run into a problem related to this discussion.
Somehow, someway, I'm getting multiple entries in my data model where
I should only ever have one.
I suspect it's related to the users hitting the back button or double-
clicking a submit button (or something). But it baffles me how it's
On Wed, 2007-03-21 at 16:47 -0700, Gerard M wrote:
> Hello django community, I have a HUGE problem, and I would like to
> know if some of you guys can help me, the problem is: Im accesing a
> database and there is a big chance of not finding the item im looking
> for, this is the snipplet of code
On Wed, Mar 21, 2007 at 04:47:35PM -0700, Gerard M wrote:
>
> Hello django community, I have a HUGE problem, and I would like to
> know if some of you guys can help me, the problem is: Im accesing a
> database and there is a big chance of not finding the item im looking
> for, this is the snipplet
On Wed, 2007-03-21 at 16:47 -0700, Gerard M wrote:
> Hello django community, I have a HUGE problem, and I would like to
> know if some of you guys can help me, the problem is: Im accesing a
> database and there is a big chance of not finding the item im looking
> for, this is the snipplet of code
Hello django community, I have a HUGE problem, and I would like to
know if some of you guys can help me, the problem is: Im accesing a
database and there is a big chance of not finding the item im looking
for, this is the snipplet of code im using and the "solution" that
I've implemented but it do
8 matches
Mail list logo