Comment on Dynamically create a type with PythonparentComments−lehmannro17yOh, 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 fieldshttp://code.djangoproject.com/browser/django/trunk/django/fo... application of the counter upon field harvesting
Comments
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