I have codes as follows: tags=forms.ModelMultipleChoiceField(queryset=Tags.objects.all(), widget=forms.CheckboxSelectMultiple)
It is working for showing an empty form to the user to enter data. however, when I want to show an existing data (that stored in database) to the user to edit, the CheckboxSelectMultiple can not show a selected option, instead, it shows all options unselected, just as same as shown on an empty form. How may I show those options selected, like it shows in admin section? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---