update login config
This commit is contained in:
parent
8b3eb59d1c
commit
089b8a3b10
@ -24,8 +24,6 @@ urlpatterns = [
|
|||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||||
path('billard/', include('billard.urls')),
|
path('billard/', include('billard.urls')),
|
||||||
path('login/', auth_views.login, name='login'),
|
|
||||||
path('logout/', auth_views.logout, name='logout'),
|
|
||||||
path('', include('django.contrib.auth.urls')),
|
path('', include('django.contrib.auth.urls')),
|
||||||
path('', RedirectView.as_view(url='billard/', permanent=False), name='index')
|
path('', RedirectView.as_view(url='billard/', permanent=False), name='index')
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user