1 ##############################################################################
2 # Copyright (c) 2016 Max Breitenfeldt and others.
3 # Copyright (c) 2018 Sawyer Bergeron, Parker Berberian, and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
13 laas_dashboard URL Configuration.
15 The `urlpatterns` list routes URLs to views. For more information please see:
16 https://docs.djangoproject.com/en/1.10/topics/http/urls/
19 1. Add an import: from my_app import views
20 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
22 1. Add an import: from other_app.views import Home
23 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
24 Including another URLconf
25 1. Import the include() function: from django.conf.urls import url, include
26 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
28 from django.conf.urls import url
29 from dashboard.views import (
33 host_profile_detail_view
36 app_name = 'dashboard'
38 url(r'^$', landing_view, name='index'),
39 url(r'^lab/$', lab_list_view, name='all_labs'),
40 url(r'^lab/(?P<lab_name>.+)/$', lab_detail_view, name='lab_detail'),
41 url(r'^hosts/$', host_profile_detail_view, name="hostprofile_detail")