I have such models:

https://bitbucket.org/Memke/webmachinist/src/ae3c2ae9547d/webmachinist/apps/webmachinist/media/models.py

And my adminy.py looks like:

https://bitbucket.org/Memke/webmachinist/src/ae3c2ae9547d/webmachinist/apps/webmachinist/media/admin.py

As you can see I attach Image and Video objects to Gallery through
GalleryItem (generic relation). The problem appears when I want to
manage galleries: I want to have possibility to add images and videos
out of Gallery Admin. I could easily do it reversely - in Image Admin
- but that's not what I want.

Do I have to write some new code? i mean subclassing InlineModelAdmin?
Or it can be done in some easier way?

-- 
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