title: Django Rest Framework reverse and SimpleRouter
body: <p>How do I use DRF's <code>reverse</code> to call a complex URL from <code>SimpleRouter</code>?</p>
  
  <p>My URL is at two places, one for teams, and one for games, as follows:</p>
  
  <p>league.urls:</p>
  
  <pre><code>url(r'^team/', include('teams.urls')),
  </code></pre>
  
  <p>team.urls:</p>
  
  <pre><code>router = SimpleRouter()
  router.register(r'game', GameViewSet, 'games')
  </code></pre>
  
  <p>I'm trying to <code>reverse</code> the url to update a game. Based on the DRF SimpleRouter, this should be "/team/{pk}/game/{pk}"</p>
  
  <p>My test is calling:</p>
  
  <pre><code>url = reverse('games-detail', args=[team.pk, game.pk])
  </code></pre>
  
  <p>But I'm getting the following error:</p>
  
  <pre><code>    raise error, v # invalid expression
  error: redefinition of group name u'pk' as group 2; was group 1
  </code></pre>