diff --git a/src/profiles/urls.py b/src/profiles/urls.py index 8b0f79bca0d26bacaab7867435c1eed30342b305..e83be2b683c8142f34eea6b96886f4aef0663ff5 100644 --- a/src/profiles/urls.py +++ b/src/profiles/urls.py @@ -5,6 +5,6 @@ app_name = 'profiles' urlpatterns = [ path('me/', views.ShowProfile.as_view(), name='show_self'), path('me/edit/', views.EditProfile.as_view(), name='edit_self'), - path('profile/<slug:slug>/', views.ShowProfile.as_view(), + path('<slug:slug>/', views.ShowProfile.as_view(), name='show'), ] diff --git a/src/project_name/urls.py b/src/project_name/urls.py index 0fe988bee755d34d11351ab77d67271030f1bb5a..289326bb9bab9e2a1b99897d98698977626b45c4 100644 --- a/src/project_name/urls.py +++ b/src/project_name/urls.py @@ -9,8 +9,8 @@ import debug_toolbar urlpatterns = [ path('', views.HomePage.as_view(), name='home'), path('admin/', admin.site.urls), - path('', include(accounts.urls)), - path('', include(profiles.urls)), + path('accounts/', include(accounts.urls)), + path('profiles/', include(profiles.urls)), path('__debug__/', include(debug_toolbar.urls)), ]