Sunday, February 20, 2011

objects added via inline not logged

I have an class payment that links to households
class Payment(models.Model):
# Which household made this payment?
household = models.ForeignKey(Household)
...

and the household has a payment inline in the admin
interface.

When I add a payment from the list of Payments, the first
line of the new object's change history is the date,
time, and user who created the object.
But when I add a payment as an inline on the page of a
Household, there is no record made. The history says,
"This object doesn't have a change history. It probably
wasn't added via this admin site."

I would like to know which user created the payment
regardless of how is was created. Is there a way
to get the admin interface to make a history for objects
added via an inline? Am I doing something wrong?
Currently I'm using version 1.2.1.

Thanks for any help.

-Frank

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate