Bases: django.db.models.base.Model
Base class for Question and Answer
This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.
get list of users who have subscribed to receive instant notifications for a given post this method works for questions and answers
parameter “potential_subscribers” is not used here, but left for the uniformity of the interface (Comment method does use it)
comment class has it’s own variant which does have quite a bit of duplicated code at the moment
returns an abbreviated snippet of the content
This class provides the functionality that makes the related-object managers available as attributes on a model class, for fields that have multiple “remote” values and have a GenericRelation defined in their model (rather than having another model pointed at them). In the example “article.publications”, the publications attribute is a ReverseGenericRelatedObjectsDescriptor instance.