title: Django user details
body: <p>I  am doing a project in Django. In route <code>/players</code> I have list of all players in my database. On each player's card, I would like to have a link, which redirects me to a player profile, like <code>/players/username</code>. I tried it with some URL parameter but after some attempts I need some help. I know how to do it in Node, but in django it seems a bit complicated for me.</p>
  <p>I got this error
  <code>Reverse for 'player-profile' with no arguments not found. 1 pattern(s) tried: ['players/(?P&lt;username&gt;[^/]+)/$']</code></p>
  <p>This is my link on each player card in players.html</p>
  <p><code> &lt;a href=&quot;{% url 'player-profile' %}&quot; class=&quot;btn btn-primary&quot;&gt;Profil&lt;/a&gt;</code></p>
  <p>This is URL pattern in urls.py</p>
  <p><code>path('players/&lt;username&gt;/', views.player_profile, name='player-profile')</code></p>
  <p>This is player_profile function in views.py</p>
  <pre><code>def player_profile(request, username):
      return render(request, 'blog/player_profile.html```
  
  </code></pre>