Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2109 closed enhancement (fixed)

[patch] Moving old-style classes to new-style

Reported by: Nicola Larosa <nico@…> Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version:
Severity: normal Keywords:
Cc: nico@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This post on django-users manifests some interest in moving the old-style classes to new-style: the attached patch does that for all classes, except the Meta and Admin ones in the model definitions, and the Promise class in utils/functional.py .

Attachments (1)

new_style.diff (35.4 KB ) - added by nico@… 19 years ago.

Download all attachments as: .zip

Change History (3)

by nico@…, 19 years ago

Attachment: new_style.diff added

comment:1 by Nicola Larosa <nico@…>, 19 years ago

BTW, all tests pass. ;-)

comment:2 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [3113]) Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa

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