Skip to content
Snippets Groups Projects
Commit bb838c6c authored by Dominique Mondry's avatar Dominique Mondry
Browse files

#1 Done

parent 67bfae24
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,6 @@ app_name = 'profiles' ...@@ -5,6 +5,6 @@ app_name = 'profiles'
urlpatterns = [ urlpatterns = [
path('me/', views.ShowProfile.as_view(), name='show_self'), path('me/', views.ShowProfile.as_view(), name='show_self'),
path('me/edit/', views.EditProfile.as_view(), name='edit_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'), name='show'),
] ]
...@@ -9,8 +9,8 @@ import debug_toolbar ...@@ -9,8 +9,8 @@ import debug_toolbar
urlpatterns = [ urlpatterns = [
path('', views.HomePage.as_view(), name='home'), path('', views.HomePage.as_view(), name='home'),
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('', include(accounts.urls)), path('accounts/', include(accounts.urls)),
path('', include(profiles.urls)), path('profiles/', include(profiles.urls)),
path('__debug__/', include(debug_toolbar.urls)), path('__debug__/', include(debug_toolbar.urls)),
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment