diff --git a/apis_core/apis_metainfo/models.py b/apis_core/apis_metainfo/models.py index 84876f549..78fb32d8a 100644 --- a/apis_core/apis_metainfo/models.py +++ b/apis_core/apis_metainfo/models.py @@ -57,7 +57,11 @@ class RootObject(models.Model): # triples where the subject's or object's contenttype must be respected (e.g. get all triples # where the subject is a Person) self_contenttype = models.ForeignKey( - ContentType, on_delete=models.deletion.CASCADE, null=True, blank=True + ContentType, + on_delete=models.deletion.CASCADE, + null=True, + blank=True, + editable=False, ) objects = models.Manager() objects_inheritance = InheritanceManager()