Re: get_or_create and DoesNotExist

2008-04-02 Thread Bruno Tikami
Bryan, sorry for the late reply. I've downloaded your code and will run some tests right now. I write you back when I get something. []s! Tkm On Mon, Mar 31, 2008 at 7:28 PM, Bryan Veloso <[EMAIL PROTECTED]> wrote: > > Sure thing Bruno, > > Model: http://dpaste.com/hold/42454/ > Flickr

Re: get_or_create and DoesNotExist

2008-03-31 Thread Bryan Veloso
Sure thing Bruno, Model: http://dpaste.com/hold/42454/ Flickr Importer: http://dpaste.com/hold/42455/ I think that's all that's involved. Cheers, Bryan On Mar 31, 1:22 pm, "Bruno Tikami" <[EMAIL PROTECTED]> wrote: > Hi Bryan, > > would you post your model and view code too? As you didn't

Re: get_or_create and DoesNotExist

2008-03-31 Thread Bruno Tikami
Hi Bryan, would you post your model and view code too? As you didn't send the view code, it's quite hard to say what's wrong. I *guess* result is your QuerySet object created by the get_or_created call . If so, did you save() the created object ? Regards, Tkm

get_or_create and DoesNotExist

2008-03-31 Thread Bryan Veloso
Hi all, I mostly just need a tap in the right direction for this one. I'm sure I'm missing something that's obvious. Anyway, I'm trying to run django- syncr, and it's telling me that "Photo matching query does not exist." But if it doesn't exist, shouldn't it create it? I'm thinking that