hi,

I have three models

Blog:
author

Post:
blog = foreignKey

Attachments:
content_type
object_id

Clearly, an Attachment might be related to a Post.

Now I would like to have an admin page for Blog with Posts inlined,
but allowing an easy editing of the attachments. It's important that
the page should be for Blog, not for Post, thus
generic.GenericTabularInline [1] is not a solution.

My idea would be to simply list the related Posts for a Blog, and
provide an "edit in new window" link, where the Post's admin page is
shown that can already contain the Attachment as a
GenericTabularInline.

Is there an already available solution for this?

Thanks, Viktor

[1]: 
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#using-generic-relations-as-an-inline
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to