title: Is it okay to have multiple url patterns with the same view?
body: <p>I have an app that shows a list of "Issues". The main urls.py file sends /issues/ to the urls.py file in the "issues" app.</p>
  
  <pre><code>urlpatterns = [
      path('', RedirectView.as_view(url='/issues/')),
      path('admin/', admin.site.urls),
      path('issues/', include('issues.urls')),
  ]
  </code></pre>
  
  <p>In the issues app's urls.py file I have:</p>
  
  <pre><code>path('', views.IssueListView.as_view(), name='issue-list'),
  </code></pre>
  
  <p>That calls the IssueListView which is a generic ListView view:</p>
  
  <pre><code>class IssueListView(generic.ListView):
      model = Issue
  </code></pre>
  
  <p>Now, I want to add a sidebar menu with links users can click to sort the issues list by category. I understand that I can rewrite the get_queryset() method of the IssueListView to accept a  kwarg, and just load all the issues if that kwarg is missing (with an if statement that checks for the presence of the kwarg, right?), but I think to do this I need to have two urlpatterns that point to the same view like:</p>
  
  <pre><code>path('', views.IssueListView.as_view(), name='issue-list'),
  path('&lt;category&gt;', views.IssueListView.as_view(), name='issue-category-list'),
  </code></pre>
  
  <p>But I am wondering if that's the normal "Django way" to do it.</p>
  
  <p>Thank you.</p>