title: urlpatterns conflict <str:username>/
body: <p>I have a problem with url paths. As I understand the path users/ is perceived as  &lt;str: username&gt;/ named users. Is it possible to solve this problem without creating a new application?</p>
  <pre><code>urlpatterns=[
  path('',PostList.as_view(), name='index'),
  path('&lt;str:username&gt;/new/',News.as_view(), name='new'),
  path('&lt;str:username&gt;/', user_posts, name='profile'),
  path('&lt;str:username&gt;/&lt;int:post_id&gt;/', post_view, name='tak'),
  path('&lt;str:username&gt;/&lt;int:post_id&gt;/add_comment/', comment_add, name='add_comment'),
  
  path('&lt;str:username&gt;/&lt;int:post_id&gt;/edit/', Update.as_view(), name='edit'),
  path('users/',user_list,name='user_list'),
  path('users/&lt;str:username&gt;/',user_detail,name='user_detail'),
  
  ]
  </code></pre>