Skip to content

@classproperty decorator has moved in Django 3.1 #451

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

Closed
wants to merge 2 commits into from

Conversation

bullfest
Copy link
Contributor

The classproperty decorator was moved in Django 3.1, this is an attempt to reflect that.

From https://docs.djangoproject.com/en/3.1/releases/3.1/#id1

django.utils.decorators.classproperty() decorator is made public and moved to django.utils.functional.classproperty().

@bullfest
Copy link
Contributor Author

bullfest commented Aug 27, 2020

Not sure about the status of 3.1 support (mostly due to discussion in #439), but I'll let this stay open in case you think this approach is ok.

@mkurnikov
Copy link
Member

Fixed in 11c3f8c

@mkurnikov mkurnikov closed this Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants