<reponame>TonikX/ITMO_ICT_-WebProgramming_2020<filename>students/k3343/laboratory_works/Nazarenko_Uliana/лабораторная_работа_1/auto_racing_scoreboard/urls.py
from django.urls import path
from auto_racing_scoreboard import views
from django.contrib.auth.views import LoginView

urlpatterns = [
	path('', views.main, name='main'),
	path('scoreboard/', views.scoreboard, name='scoreboard'),
	path('comments/', views.comments, name='comments'),
	path('register/', views.reg, name='register'),
	path('login/', LoginView.as_view(), name='login'),
	path('logout/', views.LogoutFormView.as_view(), name='logout'),
]

from django.urls import path
from auto_racing_scoreboard import views
from django.contrib.auth.views import LoginView

urlpatterns = [
	path('', views.main, name='main'),
	path('scoreboard/', views.scoreboard, name='scoreboard'),
	path('comments/', views.comments, name='comments'),
	path('register/', views.reg, name='register'),
	path('login/', LoginView.as_view(), name='login'),
	path('logout/', views.LogoutFormView.as_view(), name='logout'),
]