title: Why is Django DRF urlconf not resolving url with query param
body: <p>I have a urlconf with some standard paths and where the paths may optionally have a get paramerter in the form "?format=xlsx".</p>
  
  <p>As I read the DRF documentation, query parameters are ignored by the URLConf resolver.  </p>
  
  <p>But , when I add a query parameter like "? format=xlsx to a path that otherwise matches, it no longer matches and I get a "not found" response.</p>
  
  <p>My URLConf is:</p>
  
  <pre><code>urlpatterns = [
      path('', MyListAPIView.as_view(), name="list"),
      path('&lt;sysid&gt;/',MyRetrieveAPIView.as_view(), name="get"),
      path('&lt;sysid&gt;/timeline/',MyTimeLineAPIView.as_view(), name="timeline"),
  ]
  </code></pre>
  
  <p>For some reason '22/timeline/' matches but '22/timeline/?format=xlsx' does not.</p>
  
  <p>Why is the query string not being ignored?</p>