redirect from / to /accounts/
This commit is contained in:
parent
2a2b841cc0
commit
6c1c60ae51
|
@ -15,9 +15,11 @@ Including another URLconf
|
|||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('', RedirectView.as_view(url='/accounts/')),
|
||||
path('accounts/', include('accounts.urls')),
|
||||
path('auth/', include('django.contrib.auth.urls')),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue