urls.py 421 Bytes
Newer Older
1
2
from django.conf.urls import url

Thibaut Broggi's avatar
Thibaut Broggi committed
3
from userprofile.views.users import UserDeleteView, UserEditView, UserListView
4
5
6

urlpatterns = [
    url(
Thibaut Broggi's avatar
Thibaut Broggi committed
7
        r"^list",
8
        UserListView.as_view(),
9
10
11
12
13
14
15
        name="list"
    ),

    url(
        r"^edit/(?P<pk>\d+)",
        UserEditView.as_view(),
        name="edit"
Thibaut Broggi's avatar
Thibaut Broggi committed
16
17
18
19
20
21
    ),

    url(
        r"^delete/(?P<pk>\d+)",
        UserDeleteView.as_view(),
        name="delete"
22
23
    )
]