ImportError: No module named durationfield.db.models.fields.duration (Python, Django 1.9)
Question: I'm trying to put a duration field in my models and I'm following the
instructions [here](https://django-durationfield.readthedocs.io/en/latest/).
First problems I run into is that I can't seem to import the module. Doesn't
this come standard with Django?

    
    
        from durationfield.db.models.fields.duration import DurationField
    ImportError: No module named durationfield.db.models.fields.duration
    

Following Daniel Roseman's suggestion, I changed this to:

    
    
    from django.db.models.field.duration
    

Now I'm getting:

    
    
    ImportError: No module named duration
    


Answer: It's here:

    
    
    from django.db.models import DurationField
    

And yes, it comes with Django 1.8+ so you don't need to install it.

