<commit_before>from cyder.cydns.forms import DNSForm
from cyder.cydns.sshfp.models import SSHFP


class SSHFPForm(DNSForm):
    class Meta:
        model = SSHFP
        exclude = ('fqdn',)


class FQDNSSHFPForm(DNSForm):
    class Meta:
        model = SSHFP
        exclude = ('label', 'domain')<commit_msg>Views are now displayed as checkbox options in form<commit_after>from django import forms

from cyder.cydns.forms import DNSForm
from cyder.cydns.sshfp.models import SSHFP


class SSHFPForm(DNSForm):
    class Meta:
        model = SSHFP
        exclude = ('fqdn',)
        widgets = {'views': forms.CheckboxSelectMultiple}


class FQDNSSHFPForm(DNSForm):
    class Meta:
        model = SSHFP
        exclude = ('label', 'domain')
        widgets = {'views': forms.CheckboxSelectMultiple}
{'fraction_non_alphanumeric': 0.09774436090225563, 'fraction_numerical': 0.0, 'mean_word_length': 3.118556701030928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7526692', 'n_tokens_mistral': 270, 'n_tokens_neox': 250, 'n_words': 67}