I'd personally try to get all of that stuff in _one_ database model if possible, with a "type" char field. That makes queries and ordering very easy.
-- Otherwise, yes, the next best option would be to have a database model that holds the ordering information and is somehow related to each model.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bae33593-9e40-4d7f-a4ad-0b6cde7975d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment