> From: Allyn Treshansky > Sent: Thursday, October 6, 2011 9:53 PM > > I hope this isn't pestering, but I've ran into some more confusion. > > I have run gends_run_gen_django.py and it successfully creates models.py > and forms.py. But in models.py the classes all have names like this: > > class MyXMLType_model > > And in forms.py they are all referenced like this: > > myAttribute = forms.ModelChoiceField(MyXMLTypeModel.objects.all()) > > Isn't this an error? >
I believe you are right. And, while looking into that problem, I believe I uncovered another one, specifically, when the type of a child element is defined by a reference (ref="") to an element rather than, e.g. a complexType, it was using the child's name not it's type. I believe that I've fixed both these problems. In a separate email, I'm sending you the two files that I modified. Please let me know whether this fixes the problem in the way that you expect. Thanks for letting me know about this error. I appreciate the help. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users