How's the performance of django-polymorphic compared to using select_related of childs of interest and then handle them manually in the code with hasattr ? Does it resolve to multiple joins as the select_related option, or does it perform multiple queries? Inheritance using multiple tables is always a big headache :(
El miércoles, 10 de febrero de 2016, 19:22:30 (UTC-3), Hugo Osvaldo Barrera escribió: > > Hi there, > > I'd love to see some (most?) of the features from django-polymorphic on > django itself. I'm very much be willing to work on this myself. Of > course, there's several details that need to be discussed too, HOWEVER, > but before I even start, I'd like to know if they'd even be acceptable > in django, or, for some reason, the functionality has been kept out of > django-core. > > Would a well designed PR to incorporate this be acceptable? Is it worth > opening a discussion? Or has this been rejected before, and my searching > skills failed me? > > Also on this topic; should this discussion be opened here, or rather as > an issue over at code.djangoproject.com? > > Thanks, > > -- > Hugo Osvaldo Barrera > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/2530ea71-b253-4420-81b2-d06d1adde8b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.