Hi, I want to create feeds activity using the models that I have. class Tender(models.Model): title = models.CharField(max_length=256) description = models.TextField() department = models.CharField(max_length=50) tags = models.ManyToManyField(Tag) pub_date = models.DateTimeField(default=timezone.now)
class Job(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL) qualification = models.CharField(max_length=256) salary = models.IntegerField() tags = models.ManyToManyField(Tag) pub_date = models.DateTimeField(default=timezone.now) class News(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL) title = models.CharField(max_length=150) body = models.TextField() tags = models.ManyToManyField(Tag) pub_date = models.DateTimeField(default=timezone.now) In the view, I would want any of the latest 10 objects from tender/job/news which ever was latest according to their *pub_date*. For this purpose, using a multi-table inheritance sounds good. But I saw this post on stackoverflow <http://stackoverflow.com/questions/23466577/should-i-avoid-multi-table-concrete-inheritance-in-django-by-any-means> about the pros/cons when using multi-table inheritance. Now even though it was an old post, I am confused, whether to go with multi-table inheritance or not. Your help and guidance will be very much appreciated. Thank you. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#m_-3681315383742066344_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHSNPWtGM0BbOpjmAZMTDJk4nooGAFgtJP6SUCaKRNnM1K8goA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.