title: Django pass known exact string as a url parameter
body: <p>I have two urls in dispatcher pointing the same view</p>
  
  <pre><code>path('posts/top/', posts, name='top'),
  path('posts/new/', posts, name='new'),
  </code></pre>
  
  <p>I want view start as follows:</p>
  
  <pre><code>def posts(request, ordering):
      ...
  </code></pre>
  
  <p>I guess, to pass <code>top</code> and <code>new</code> as a parameter it should be something like:</p>
  
  <pre><code>path('posts/&lt;ordering:top&gt;/', posts, name='top'),
  path('posts/&lt;ordering:new&gt;/', posts, name='new'),
  </code></pre>
  
  <p>But it gives me:</p>
  
  <pre><code>django.core.exceptions.ImproperlyConfigured: URL route 'posts/&lt;ordering:top&gt;/' uses invalid converter 'ordering'.
  </code></pre>
  
  <p>So, as a work around I use this, but it looks a little bit dirty:</p>
  
  <pre><code>path('posts/top/', posts, name='top', kwargs={'order': 'top'}),
  path('posts/new/', posts, name='new', kwargs={'order': 'top'}),
  </code></pre>
  
  <p>What is the right way to do it?</p>