Delete users/urls.py
parent
7bc99713c8
commit
cb4e2d2236
|
|
@ -1,11 +0,0 @@
|
|||
from django.urls import path
|
||||
from django.contrib.auth import views as login_view
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('profile/', views.profile, name='Profile'),
|
||||
path('profile/<int:pk>', views.profile, name='NamedProfile'),
|
||||
path('login/', login_view.LoginView.as_view(template_name='users/login.html'), name='Login'),
|
||||
path('logout/', login_view.LogoutView.as_view(template_name='users/logout.html'), name='Logout'),
|
||||
path('register/', views.register, name='Register')
|
||||
]
|
||||
Loading…
Reference in New Issue