Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread rui
Thanks, Karen, for pointing out. The admin is yet a secret for me :) -- Rui http://ruivaldo.blogspot.com On Mon, Jul 14, 2008 at 11:46 AM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2008 at 6:53 AM, rui <[EMAIL PROTECTED]> wrote: >> >> I meant the code that is called when you

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread Karen Tracey
On Mon, Jul 14, 2008 at 6:53 AM, rui <[EMAIL PROTECTED]> wrote: > I meant the code that is called when you access: > '"admin/amyprot/sequence/add/" :) > Cheers. > Rui: Well, that'd be the admin app, so likely not the poster's code at all. Allison: I assume you are using MyISAM tables? They

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread rui
I meant the code that is called when you access: '"admin/amyprot/sequence/add/" :) Cheers. -- Rui http://ruivaldo.blogspot.com On Mon, Jul 14, 2008 at 7:42 AM, allisongardner <[EMAIL PROTECTED]> wrote: > > Okay, that is my gut instinct too, a broken relationship. What gets me > though is that

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread rui
Hi Allison, Which database are you using ? SQLite ? The Protein.objects.all() return the desired object ? Does it returns something ? Cheers :) -- Rui http://ruivaldo.blogspot.com On Mon, Jul 14, 2008 at 6:04 AM, allisongardner <[EMAIL PROTECTED]> wrote: > > I am stumped. Database worked fine

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread allisongardner
Okay, that is my gut instinct too, a broken relationship. What gets me though is that is worked last night no problem. Nothing was changed. Will have a fiddle around and see what I can do. By the way I do not understand what you mean by "could post your view code at

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread rui
Could post your view-code at "admin/amyprot/sequence/add/" ? Looks like that it is a ForeignKey broken relationship or something like this. -- Rui http://ruivaldo.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread allisongardner
My mistake, ran it from python interactive prompt after typing in python manage.py shell (you can tell I am a real newbie). I get all the objects returned that are there, no problem. By the way I have tried the classic turning my computer on and off again ...next stage will be a hammer! Allison

Re: worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread allisongardner
Hi, Thank you for replying. I am using MySQL. I ran Protein.objects.all() (i typed in Python manage.py dbshell and the typed the query at the MySQL prompt). All I get is a -> prompt. Really stumped on this one and near to having a very big tantrum. Allison On Jul 14, 12:10 pm, rui <[EMAIL

worked fine last night, no changes but now get DoesNotExistError

2008-07-14 Thread allisongardner
I am stumped. Database worked fine yesterday, adding new protein sequence quite happily. Start tryign to do the same today, having made no changes at all to my models or anything, and I get the error: DoesNotExist at /admin/amyprot/sequence/add/ Protein matching query does not exist. Request