News for hackers. Stuff that matters.
Re:Dynamically create a type with Python by lehmannro on Wednesday June 17, 2009 @09:35PM (#662837)
Oh, I didn't think about the order. Django's approach to this issue is really simple and only requires that all your Struct fields are instances of some common base class.

http://code.djangoproject.com/browser/django/trunk/django/fo... creation of the counter on individual fields

http://code.djangoproject.com/browser/django/trunk/django/fo... application of the counter upon field harvesting

There are no comments on this comment yet.