title: Django request.user.first_name not working in Safari
body: <p>the code {{ request.user.first_name }} used on a HTML page with Django works perfectly in Chrome. However, it is not working in Safari and just displays nothing.</p>
  <p>Is there any alternative way of getting this or how can I fix this?</p>
  <p>Not using Safari is not an option as people with Safari will use this web-app.</p>
  <p><strong>EDIT:</strong></p>
  <p>Minimum reusable example:</p>
  <p>base.html</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span class="user"&gt;
         {% if request.user.is_authenticated %}
             Hello {{ request.user.first_name }},
             &lt;a href="{% url "logout" %}"&gt;Logout&lt;/a&gt;
         {% else %}
             &lt;a href="{% url "login" %}"&gt;Log-in&lt;/a&gt;
         {% endif %}
  &lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>How it looks on Chrome:</p>
  <p><a href="https://i.stack.imgur.com/YP6BG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YP6BG.png" alt="enter image description here" /></a></p>
  <p>Safari:</p>
  <p><a href="https://i.stack.imgur.com/fAlSP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fAlSP.png" alt="enter image description here" /></a></p>