How do I store multiple copies of the same field in Django?

Posted by Alistair on Stack Overflow See other posts from Stack Overflow or by Alistair
Published on 2011-02-01T22:54:21Z Indexed on 2011/02/01 23:26 UTC
Read the original article Hit count: 283

Filed under:
|
|

I'm storing OLAC metadata which describes linguistic resources. Many of the elements of the metadata are repeatable -- for example, a resource can have two languages, three authors and four dates associated with it.

Is there any way of storing this in one model? It seems like overkill to define a model for each repeatable metadata element -- especially since the models will only have one field: it's value.

© Stack Overflow or respective owner

Related posts about python

Related posts about django