title: Django REST: weird dot in url-reverse
body: <p>The <code>router</code> code:</p>
  
  <pre><code>...
  domain_nested_routers_lookup = 'domain'
  router = routers.DefaultRouter()
  router.register('accounts', DomainViewSet)
  ...
  domains_router = NestedSimpleRouter(router, r'accounts', lookup=domain_nested_routers_lookup)
  </code></pre>
  
  <p>The reason for such a move is because project old API used the term <code>domain</code>, that is not getting changed to <code>account</code>.</p>
  
  <p>The <code>serializer</code>code:</p>
  
  <pre><code>class DomainSerializer(...):
      link = serializers.HyperlinkedIdentityField(view_name='domain-detail', lookup_field='short_name')
  </code></pre>
  
  <p>Now the problem is that this code:</p>
  
  <pre><code>self.api_reverse('domain-detail', self.domain.id)
  </code></pre>
  
  <p>returns: </p>
  
  <pre><code>u'/rest/accounts/domain_0.1'
  </code></pre>
  
  <p>And I don't understand by what magic <code>.1</code> is added (1 is an <code>id</code> of <code>domain</code> object).</p>
  
  <p>The correct output should be:</p>
  
  <p><code>u'/rest/accounts/domain_0</code></p>