mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
562 B
15 lines
562 B
from django.conf.urls import url
|
|
|
|
from .views import MemberFormView, MemberSearchView, MemberSignIn, Members, MemberViewSet
|
|
|
|
apiRoutes = (
|
|
(r'members', MemberViewSet),
|
|
)
|
|
|
|
urlpatterns = [
|
|
url(r'^new/$', MemberFormView.as_view(), name='member_new'),
|
|
url(r'^search/(?P<query>[\w@\.\+]+)/$', MemberSearchView.as_view(), name='member_search'),
|
|
url(r'^edit/(?P<member_id>[0-9]+)/$', MemberFormView.as_view(), name='member_edit'),
|
|
url(r'^signin/$', MemberSignIn.as_view(), name='member_signin'),
|
|
url(r'^$', Members.as_view(), name='members'),
|
|
]
|
|
|