I need several models, but since the data size is not more than 5 records each, it seems like a waste to use db-table.
how should I do it?
these models are supposed to be linked to other models
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
sounds like some kind of enum to me.
if it is (does not change very much or does not need a frontend to add/edit/delete) you can put it in the model code and use sth like
http://www.dereuromark.de/2010/06/24/static-enums-or-semihardcoded-attributes/
if you need to have a crud backend for it to edit it online you could group them together to a model maybe called “list_items” with a “type” field to distinguish the different models you are talking about. this way you have one model holding all those enums and you can provide add/edit/delete access for them for users/admins.