2👍
✅
Using multiple tables will be likely to be faster, since it’s a simpler lookup, and avoids the additional queries to the Django content_type table. However, that approach could make for more difficulty in code maintenance. So that’s the tradeoff you need to consider.
What you could do is use a comments abstract base model, something along the lines of:
from django.db import models
class BaseComment(models.Model):
author = ...
title = ...
body = ...
class Meta:
abstract = True
class VideoComment(BaseComment):
video = models.ForeignKey(...)
That way, you get the more performant db lookups, with less of the code maintenance overhead.
Source:stackexchange.com