Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
That was it! Thank you very much for your time and effort! On Jan 11, 5:36 pm, Karen Tracey wrote: > On Mon, Jan 11, 2010 at 4:54 PM, kkerbel wrote: > > [snip] > >  File "/usr/local/lib64/python2.5/site-packages/django/db/models/ > > fields/related.py", line 257, in __get__ > >   rel_obj = Quer

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread Karen Tracey
On Mon, Jan 11, 2010 at 4:54 PM, kkerbel wrote: > [snip] > File "/usr/local/lib64/python2.5/site-packages/django/db/models/ > fields/related.py", line 257, in __get__ > rel_obj = QuerySet(self.field.rel.to).get(**params) > > File "/usr/local/lib64/python2.5/site-packages/django/db/models/ > q

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
admin.py === from django.contrib import admin from . import models class PerDiemInline(admin.StackedInline): model = models.PerDiem class AccountInline(admin.StackedInline): model = models.Account class RequestAdmin(admin.ModelAdmin): list_display = ('requested_by', '

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
Ok...I'm sorry. The change list page is what I'm referring to...I'll try to gather some info and post it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from thi

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread Karen Tracey
On Mon, Jan 11, 2010 at 2:59 PM, kkerbel wrote: > When viewing the admin pages for a travel request app we wrote, the > admin page shows the record links, however, when you click to view the > details of any record, I get an error stating "DoesNotExist: Employee > matching query does not exist."

Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
When viewing the admin pages for a travel request app we wrote, the admin page shows the record links, however, when you click to view the details of any record, I get an error stating "DoesNotExist: Employee matching query does not exist." I've looked at the database and the employee does indeed