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

<pre><code>    from durationfield.db.models.fields.duration import DurationField
ImportError: No module named durationfield.db.models.fields.duration
</code></pre>

<p>Following Daniel Roseman's suggestion, I changed this to: </p>

<pre><code>from django.db.models.field.duration
</code></pre>

<p>Now I'm getting:</p>

<pre><code>ImportError: No module named duration
</code></pre>

<p>You should be importing from django.db.models....</p>

python django import models duration