12 lines
407 B
Python
12 lines
407 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path("", views.forum, name="Forum"),
|
|
path("discussion/<int:myid>/", views.discussion, name="Discussions"),
|
|
path("register/", views.UserRegister, name="Register"),
|
|
path("login/", views.UserLogin, name="Login"),
|
|
path("logout/", views.UserLogout, name="Logout"),
|
|
path("myprofile/", views.myprofile, name="Myprofile"),
|
|
]
|