Source

django-informativo / informativo / forms.py

from django import forms

from informativo.models import Contact


class SubscribeForm(forms.ModelForm):

    class Meta:
        model = Contact
        widgets = {'mailing_lists': forms.CheckboxSelectMultiple}