12345678910 |
- from django.urls import path
- from . import views
- urlpatterns = [
- path('login/', views.user_login, name='login'),
- path('logout/', views.user_logout, name='logout'),
- path('register/', views.user_register, name='register'),
- path('profile/<str:r_username>/', views.profile_detail, name='profile'),
- path('edit/<str:r_username>/', views.profile_edit, name='profile_edit'),
- ]
|