Skip to content

Django 5.2 incompatibility #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
matthpau opened this issue Apr 25, 2025 · 0 comments
Open

Django 5.2 incompatibility #619

matthpau opened this issue Apr 25, 2025 · 0 comments

Comments

@matthpau
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant