On Feb 18, 2008 5:06 AM, Jiri Barton <[EMAIL PROTECTED]> wrote: > The infamous commit #7126 seems to obsolete generic relations -- to > me.
Not by a long shot. To take your example, you'd need to go back and rewrite every single model you'd like to use tags with to inherit from the appropriate base model, and you'd need to make the appropriate database changes to reflect that. You'd also never be able to use tagging with a third-party application that wasn't explicitly written to support it. Meanwhile, generic relations require no rewriting and work with any model regardless of whether that model was written specifically to allow it; this is what lets generic tagging applications tag any content object, and what lets django.contrib.comments add comments on any object. Given that level of flexibility, generic relations need to stick around. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
