sounds a bit complicated: save first, go back to the entry, add tag ... not sure if that works for me. I´ll check out your scripts later.
for now, I´ll stick with many-to-many ... thanks for your answer, patrick Am 06.07.2006 um 15:31 schrieb Jay Parlar: > > On 7/6/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: >> >> just tested generic relations for tagging. >> to my surprise, there´s no possibility to enter tags (for my blog- >> entries) in the admin interface. >> >> however, i do get additional user permissions: "can add tagged >> item", ... >> did I miss something? > > There's not been any explicit Admin support added for generic > relations, yet. > > The extra permission is automatically added for anything in your > model. > > My solution to generic relations and the admin is to use some custom > JavaScript. What happens is I'll add, for example, a blog entry. Once > that's entered and saved, anytime I go to that entry in the admin, I > have a link pop up that says "Add Tag for this item". > > That link then takes me to a TaggedItem page, and pre-populates the > content_type and object_id fields. So all I have to do myself is > provide the tag. > > You can see my javascript here: > http://svn.jayparlar.com/website/trunk/jayparlar/site_media/js/ > And my blog and tags apps are found here: > http://svn.jayparlar.com/website/trunk/jayparlar/ > > Don't laugh at my JavaScript too much, I'm still just learning it. > > This is certainly not an ideal solution, but it's the best I could > come up with for now. > > Jay P. > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---