Formatting hours and minutes in django backend : <p>I have a method in my django app (1.8).</p>

<p>From date recived from <strong>date_start</strong> field: <code>2017-01-26 18:00:00+00:00</code> I want to get hours and minutes. But my code didn't works:</p>

<pre><code>@property
def time(self):
    return '{%H:%M}'.format(self.date_start)
</code></pre>
