Django

Code

Ticket #2109 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: Nicola Larosa <nico@teknico.net> Assigned to: adrian
Milestone: Component: Database layer (models, ORM)
Version: Keywords:
Cc: nico@teknico.net Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

new_style.diff (35.4 kB) - added by nico@teknico.net on 06/07/06 12:06:55.

Change History

06/07/06 12:06:55 changed by nico@teknico.net

  • attachment new_style.diff added.

06/07/06 12:10:45 changed by Nicola Larosa <nico@teknico.net>

BTW, all tests pass. ;-)

06/08/06 00:00:19 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #2109 ([patch] Moving old-style classes to new-style)




Change Properties
Action