Hello, I am evaluating the use of Django for a project.
I went through the tutorial and read some of the other documentation. The problems is we use an existing database structure. There is no real way arround using that. So I would like to hear if and how you would use that with Django. Let me explain our database layout: We store objects with its attributes in 3 relational tables. And a few more "meta" tables for class defintions. 1st table: object simply holds ids and id of class of the object for every object 2nd table: attributes: every row represents an attribute value of a object (so there is one field for each possible type of data, an id to the object the attribute belongs to, and an id the the attribute type in the meta tables). A possible value is also a reference to an other object. (3rd table is for list attributes, not that impossible here) So basicly, we can define new classes of objects and attributes for them in the meta table and store objects of any type and attribute count in these 3 tables. (this data layout makes sql queries quite complex) Well, the question is how to use that with Django. inspect db wouldn't help much. Using views may be something to try, but I don't believe that would realy work out. Would it be possible and sensible to write an own manager class? Or write some automatich code generator which generates django models with lots of raw sql out of our meta tables (class defintions)? What do you think? Thank you Daniel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.