In Django's own comment framework, django-contrib-comments, if I create my own comment model as below:
from django_comments.models import Comment
class MyCommentModel(Comment):
Q: How should I associate this new comment model (MyCommentModel) with existing Article model? using attribute content_type, object_pk or content_object ?
You can just use it directly like this:
But if you want to access the comments from
Article, you can useGenericRelation: