> I am trying to find a more flexible way, where I can add > custom fields (for example add a new text field or a check box). How > ca I do this without modifyig the model?
If you want something that allows for unknown future additions of new fields, I personally would consider using adding "properties" to articles through an associative "article_property" table. Table rows would basically be name/value pairs with a foreign key pointing to an article. This allows any number of name/value pairs to be added to an article. You can get fancier and define the possible properties in an article_property_type table that the article_property table refers to. Such a construct gives maximum flexibility, but probably requires a little more glue logic, and a little performance penalty for an extra level of join. But performance isn't always as critical as we make it out to be, I think. :) Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---