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

3
from userprofile.views.users import 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"
16 17
    )
]