contenttypes.fields.GenericForeignKey.for_concrete_model

for_concrete_model If False, the field will be able to reference proxy models. Default is True. This

2016-10-09 18:34:37
contenttypes.admin.GenericStackedInline

class GenericStackedInline Subclasses of GenericInlineModelAdmin with stacked and tabular layouts, respectively

2016-10-09 18:34:36
contenttypes.admin.GenericTabularInline

class GenericTabularInline

2016-10-09 18:34:37
contenttypes.models.ContentType.model_class()

ContentType.model_class() Returns the model class represented by this ContentType instance. For

2016-10-09 18:34:39
contenttypes.fields.GenericRelation.related_query_name

related_query_name The relation on the related object back to this object doesn’t exist by default. Setting related_query_name

2016-10-09 18:34:37
contenttypes.models.ContentTypeManager.get_for_model()

get_for_model(model, for_concrete_model=True) Takes either a model class or an instance of a model, and returns the ContentType

2016-10-09 18:34:39
contenttypes.models.ContentType.app_label

app_label The name of the application the model is part of. This is taken from the app_label attribute of the model

2016-10-09 18:34:38
contenttypes.admin.GenericInlineModelAdmin

class GenericInlineModelAdmin The GenericInlineModelAdmin class inherits all properties from an

2016-10-09 18:34:36
contenttypes.models.ContentTypeManager

class ContentTypeManager ContentType also has a custom manager, ContentTypeManager, which adds the

2016-10-09 18:34:39
contenttypes.fields.GenericRelation

class GenericRelation related_query_name The relation on the related object

2016-10-09 18:34:37