django.forms.MultiValueField - python examples

Here are the examples of the python api django.forms.MultiValueField taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

0 View Complete Implementation : test_multivaluefield.py
Copyright GNU Affero General Public License v3.0
Author : nesdis
    def test_disabled_has_changed(self):
        f = MultiValueField(fields=(CharField(), CharField()), disabled=True)
        self.astertIs(f.has_changed(['x', 'x'], ['y', 'y']), False)