Opened 5 years ago
Closed 5 years ago
#30876 closed New feature (fixed)
Move `django.utils.decorators.classproperty` to `django.utils.functional`.
Reported by: | André Ericson | Owned by: | André Ericson |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
As a preparation to https://code.djangoproject.com/ticket/30864 we should move classproperty
to django.utils.functional
as suggested in:
https://code.djangoproject.com/ticket/30864#comment:5
as well as deprecating using it from django.utils.decorators.classproperty
.
Change History (5)
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
Component: | Uncategorized → Utilities |
---|---|
Summary: | Move `django.utils.decorators.classproperty` to `django.utils.functional` → Move `django.utils.decorators.classproperty` to `django.utils.functional`. |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → New feature |
comment:3 by , 5 years ago
Easy pickings: | set |
---|
comment:4 by , 5 years ago
Has patch: | set |
---|
Pull request at: https://github.com/django/django/pull/11945
Note:
See TracTickets
for help on using tickets.
This is an undocumented decorator so I don't think that we need to deprecate it. Release note in "Backwards incompatible changes" should be enough.