WIM handler
[osm/LW-UI.git] / sf_t3d / urls.py
1 #
2 # Copyright 2018 EveryUP Srl
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 from django.conf.urls import url, include
18 from authosm import views as user_views
19 from sf_t3d import views
20
21 app_name = 'base'
22 urlpatterns = [
23 url(r'^$', views.home, name='home'),
24 url(r'^home', views.home, name='home'),
25 url(r'^auth/$', user_views.user_login, name='auth_user'),
26 url(r'^projects/', include('projecthandler.urls.project', namespace='projects'), name='projects_base'),
27 url(r'^sdn/', include('sdnctrlhandler.urls', namespace='sdns'), name='sdns_base'),
28 url(r'^vims/', include('vimhandler.urls', namespace='vims'), name='vims_base'),
29 url(r'^wims/', include('wimhandler.urls', namespace='wims'), name='wims_base'),
30 url(r'^packages/', include('packagehandler.urls', namespace='packages'), name='packages_base'),
31 url(r'^instances/', include('instancehandler.urls', namespace='instances'), name='instances_base'),
32 url(r'^netslices/', include('netslicehandler.urls', namespace='netslices'), name='netslices_base'),
33 url(r'^admin/users/', include('userhandler.urls', namespace='users'), name='users_base'),
34 url(r'^forbidden', views.forbidden, name='forbidden'),
35
36 ]