diff --git a/_modules/apis_core/apis_metainfo/models.html b/_modules/apis_core/apis_metainfo/models.html index 26055a7f5..5e198bb25 100644 --- a/_modules/apis_core/apis_metainfo/models.html +++ b/_modules/apis_core/apis_metainfo/models.html @@ -136,8 +136,7 @@

Source code for apis_core.apis_metainfo.models

[docs] def save(self, *args, **kwargs): - if self.self_contenttype is None: - self.self_contenttype = caching.get_contenttype_of_class(self.__class__) + self.self_contenttype = ContentType.objects.get_for_model(self) super().save(*args, **kwargs)