class GameForm(forms.ModelForm):
name = forms.CharField(max_length=15, label="Name")
url = forms.URLField(label="URL", initial="http://")
cats = forms.ModelMultipleChoiceField(
queryset=Category.objects.all(),
widget=forms.CheckboxSelectMultiple,
required=True)
class Meta:
model = Game
fields = ('name','url','cats')
that should fix your view, but i’m not sure about the admin. still looking… will edit if i find anything.