views:

17

answers:

0

Hi all,

So i have an Article and a Comment model. Comment have a foreign key pointing to Article. As well Comment in admin.py is admin.StackedInline. Currently, in the admin view of Article, i have an extra column for the latest 3 comments displayed (using a custom function). I would like to have a behavior that when the user clicks on the comment cell of a particular row, it will popup a form that will allow the user to quickly add a comment without going into the row and add one.

Does anyone know how to accomplish this easily?

Thanks a lot!

Jason