in django admin, can we have a multiple select based on choices
Posted
by Rasiel
on Stack Overflow
See other posts from Stack Overflow
or by Rasiel
Published on 2009-11-10T21:37:17Z
Indexed on
2010/03/30
18:33 UTC
Read the original article
Hit count: 267
django
|django-admin
http://docs.djangoproject.com/en/dev/ref/models/fields/#choices
i've read through the documentation and this implies using a database table for dynamic data, however it states
choices is meant for static data that doesn't change much, if ever.
so what if i want to use choices, but have it select multiple because the data i'm using is quite static, e.g days of the week.
is there anyway to achieve this without a database table?
© Stack Overflow or respective owner