From 22e0b7dc2791f8b8d3faf874e1067c67205d5f22 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 8 Oct 2021 11:10:08 +0200 Subject: [PATCH] Use accounts/ prefix for accounts router --- accounts/urls.py | 2 +- photo21/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/urls.py b/accounts/urls.py index 3e07455..445f6aa 100644 --- a/accounts/urls.py +++ b/accounts/urls.py @@ -2,5 +2,5 @@ from django.urls import path from .views import signup urlpatterns = [ - path('', signup, name='registration'), + path('registration/', signup, name='registration'), ] diff --git a/photo21/urls.py b/photo21/urls.py index 3b4a601..311d17b 100644 --- a/photo21/urls.py +++ b/photo21/urls.py @@ -26,10 +26,10 @@ urlpatterns = [ path('photologue/', include('photologue_custom.urls')), path('photologue/', include('photologue.urls', namespace='photologue')), path('accounts/', include('django.contrib.auth.urls')), + path('accounts/', include('accounts.urls')), path('i18n/', include('django.conf.urls.i18n')), path('admin/', admin.site.urls), path('admin/doc/', include('django.contrib.admindocs.urls')), - path('accounts/registration/', include('accounts.urls')) ] if settings.DEBUG: