urls.py 390 B

12345678910
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('login/', views.user_login, name='login'),
  5. path('logout/', views.user_logout, name='logout'),
  6. path('register/', views.user_register, name='register'),
  7. path('profile/<str:r_username>/', views.profile_detail, name='profile'),
  8. path('edit/<str:r_username>/', views.profile_edit, name='profile_edit'),
  9. ]