mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 23:41:12 +00:00
b4e2d6e874
uploaded the required files
16 lines
441 B
Python
16 lines
441 B
Python
## This will route you toward views.
|
|
|
|
from django.urls import path, include
|
|
from chat import views as chat_views
|
|
from django.contrib.auth.views import LoginView, LogoutView
|
|
|
|
|
|
urlpatterns = [
|
|
path("", chat_views.chatPage, name="chat-page"),
|
|
|
|
# login-section
|
|
path("auth/login/", LoginView.as_view
|
|
(template_name="chat/LoginPage.html"), name="login-user"),
|
|
path("auth/logout/", LogoutView.as_view(), name="logout-user"),
|
|
]
|