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 André Ericson, 5 years ago

Owner: changed from nobody to André Ericson
Status: newassigned

comment:2 by Mariusz Felisiak, 5 years ago

Component: UncategorizedUtilities
Summary: Move `django.utils.decorators.classproperty` to `django.utils.functional`Move `django.utils.decorators.classproperty` to `django.utils.functional`.
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

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.

comment:3 by Mariusz Felisiak, 5 years ago

Easy pickings: set

comment:4 by André Ericson, 5 years ago

Has patch: set

comment:5 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

Resolution: fixed
Status: assignedclosed

In 31204909:

Fixed #30876 -- Moved classproperty() decorator to the django.utils.functional.

Note: See TracTickets for help on using tickets.
Back to Top