if model._meta.is_composite_pk:
The error you're seeing is caused by a version incompatibility between Django 5.2 and django-constance 4.1.2. The specific error occurs because Django 5.2 expects models to have an is_composite_pk attribute in their _meta object, but the Config model from django-constance doesn't have this attribute.
if model._meta.is_composite_pk:
The error you're seeing is caused by a version incompatibility between Django 5.2 and django-constance 4.1.2. The specific error occurs because Django 5.2 expects models to have an is_composite_pk attribute in their _meta object, but the Config model from django-constance doesn't have this attribute.