aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/urls.py')
-rw-r--r--src/api/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index 39f07df..0005d34 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -42,6 +42,8 @@ from api.views import (
lab_host,
get_pdf,
get_idf,
+ lab_users,
+ lab_user,
GenerateTokenView
)
@@ -59,5 +61,7 @@ urlpatterns = [
path('labs/<slug:lab_name>/jobs/new', new_jobs),
path('labs/<slug:lab_name>/jobs/current', current_jobs),
path('labs/<slug:lab_name>/jobs/done', done_jobs),
+ path('labs/<slug:lab_name>/users', lab_users),
+ path('labs/<slug:lab_name>/users/<int:user_id>', lab_user),
url(r'^token$', GenerateTokenView.as_view(), name='generate_token'),
]