Hi: I am a beginner using django, I want to build a flexible data model like this: Item_ID Attribute Value 1 Attr1 V1 1 Attr2 V2 2 Attr1 V3 2 Attr2 V4 1 Attr3 V5
Uses can add new attribute (attr 4, 5..) without changing the database (do not add new columns) How can I realize it in model, view and form with the function of creating Item and searching items on selected attrs? The main problem confused me is that I cannot link form with model since the attribute is actually values not truly attributes. Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/66b37111-6774-499c-8b25-1569ef0746b2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.