17 lines
935 B
Python

from django.urls import path
from .views import person_views
from .views import account_views
urlpatterns = [
path('members/', person_views.members, name='members'),
path('members/details/<int:id>', person_views.details, name="details"),
path('members/create/', person_views.create, name="create"),
path('members/edit/<int:id>', person_views.edit, name="edit"),
path('members/delete/<int:id>', person_views.delete, name="delete"),
path('members/account/details/<int:id>', account_views.details_account, name="details_account"),
path('members/account/edit/<int:id>', account_views.edit_account, name="edit_account"),
path('members/account/create/<int:id>', account_views.create_account, name="create_account"),
path('members/account/edit/<int:id>', account_views.edit_account, name="edit_account"),
path('members/account/delete/<int:id>', account_views.delete_account, name="delete_account"),
]