Skip to content
Advertisement

Tag: multiplechoicefield

Where developers save choice options in Django?

For example i have a choice Should i create a model like: and create some color instances in django-admin or i need to declare CHOICE(above), where i save all colors(even if there are many colors)? Answer Let’s say you need to make a model product and this model has multiple colors. In this case you need to create a model

Advertisement