django.forms.DurationField.clean - python examples

Here are the examples of the python api django.forms.DurationField.clean 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 : utils.py
Copyright MIT License
Author : guidovranken
def test_forms_DurationField(inp):
    try:
        forms.DurationField().clean(inp)
    except:
        past