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

On Jul 14, 12:10 pm, rui <[EMAIL PROTECTED]> wrote:
> Hi Allison,
>
> Which database are you using ? SQLite ?
> The Protein.objects.all() return the desired object ? Does it returns
> something ?
>
> Cheers :)
> --
> Ruihttp://ruivaldo.blogspot.com
>
> On Mon, Jul 14, 2008 at 6:04 AM, allisongardner
>
> <[EMAIL PROTECTED]> wrote:
>
> > 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 Method:         GET
> > Request URL:    http://127.0.0.1:8000/admin/amyprot/sequence/add/
> > Exception Type:         DoesNotExist
> > Exception Value:        Protein matching query does not exist.
> > Exception Location:     /usr/lib/python2.5/site-packages/django/db/models/
> > query.py in get, line 252
>
> > (ps is it bad that i show all my paths here?)
>
> > I have three tables: Protein, Mutation and Sequence. Prot_name is the
> > primary key in my protein table. Mutation has this set as a foreign
> > key, the primary key in my Mutation table is Mut_id. I have a one to
> > one relationship from Mutation to Sequence (with me renaming the
> > primary key sequence_id but obviously it is the same as mut_id). I am
> > not using the svn release and can't update to that for a couple of
> > months.
>
> > Why work last night and not now..how can it break itself over
> > night???!!!!!
>
> > Regards,
> > Allison
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to