Oops. I don't mean to triple post, here, but I think the original post might be slightly confusing.
When I say that I'd like to be able to select from existing RelatedLinks, I don't mean that I'd like to view the existing relationships between the new Entry model and the RelatedLinks model. The generic.GenericTabularInline class already does this - it shows existing relationships and allows you to add a new one. What I mean is that I'd like to display what I mentioned above, which is already there, PLUS be able to select from any existing RelatedLink models, because they might be the "related link" that I want, instead of having to just add a new one and duplicate the existing one. Hope this clarifies this a bit. Ryan On Aug 10, 10:58 pm, chyea <ryanc...@unt.edu> wrote: > Hi all, > > I've just finished reading through the docs, and following > ubernostrum's blog post about generic inlines. Generic relationships > and generic inlines are exactly what I'm looking for. They're working > as intended, but is it possible for me to view existing related items > when creating a new entry, which is part of the generic relationship, > instead of always creating a new one? The blog post I'm referencing is > here:http://www.b-list.org/weblog/2008/dec/04/generic-inlines/ > > For example, I've got RelatedLink setup as a generic relationship with > any other model, per the blog post. I've got an Entry model setup > using generic inlines to allow me to add new RelatedLinks for this > Entry. Am I able to somehow view existing RelatedLinks, though, to > select from as part of this collection of RelatedLinks? > > This would be the general purpose for this type of generic > relationship, I'd think. How can I allow the admin page to show me > these existing items? > > Thanks, > Ryan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---