old_contents: from django.conf.urls import include, url
  from django.contrib import admin
  
  from . import views
  
  urlpatterns = [
      url(r'^', views.ViewView.as_view(), name='profile_own_view'),
      url(r'^edit/', views.EditView.as_view(), name='profile_edit'),
      url(r'^view/', views.ViewView.as_view(), name='profile_own_view'),
      url(r'^view/(?P<user_name>\d+)/$', views.ViewView.as_view(), name='profile_view'),
  
  ]
  
new_contents: from django.conf.urls import include, url
  from django.contrib import admin
  
  from . import views
  
  urlpatterns = [
      url(r'^$', views.ViewView.as_view(), name='profile_own_view'),
      url(r'^edit/', views.EditView.as_view(), name='profile_edit'),
      url(r'^view/', views.ViewView.as_view(), name='profile_own_view'),
      url(r'^view/(?P<user_name>\d+)/$', views.ViewView.as_view(), name='profile_view'),
  
  ]
  
subject: Fix user_profile index page url-pattern