title: How do i Get the first and second letter of a username in Django <div> {{Post.author.username.0} } </div>
body: <p>I want to display images according to the user's first and second letter from the username  instead of an image with rounded corners.
  But</p>
  <pre><code>&lt;div&gt; {{Post.author.username.0} } &lt;/div&gt;
  </code></pre>
  <p>Returns only the first letter instead.
  Please help, how do I return 2 letters for example: Ahmed as  Ah instead of A.</p>