Opened 12 years ago

Closed 12 years ago

Last modified 12 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: UI/UX:


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/ .

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by nico@…

Attachment: new_style.diff added

comment:1 Changed 12 years ago by Nicola Larosa <nico@…>

BTW, all tests pass. ;-)

comment:2 Changed 12 years ago by Adrian Holovaty

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