| lombardof | fb37bca | 2018-05-03 16:20:04 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2017 CNIT - Consorzio Nazionale Interuniversitario per le Telecomunicazioni |
| 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 projecthandler import views |
| 19 | |
| 20 | urlpatterns = [ |
| lombardofr | 99f922f | 2018-07-17 17:27:36 +0200 | [diff] [blame] | 21 | url(r'^$', views.open_project, name='open_project'), |
| lombardof | fb37bca | 2018-05-03 16:20:04 +0200 | [diff] [blame] | 22 | url(r'^list/', views.user_projects, name='projects_list'), |
| lombardofr | 59989d0 | 2020-03-18 10:51:01 +0100 | [diff] [blame] | 23 | url(r'^domains/', views.user_domains, name='domains_list'), |
| lombardof | fb37bca | 2018-05-03 16:20:04 +0200 | [diff] [blame] | 24 | url(r'^new/', views.create_new_project, name='new_project'), |
| lombardofr | 3218b2b | 2018-10-29 13:41:08 +0100 | [diff] [blame] | 25 | url(r'^descriptors/', include('descriptorhandler.urls', namespace='descriptors'), name='descriptor_base'), |
| lombardofr | e5a130a | 2019-07-15 09:17:59 +0200 | [diff] [blame] | 26 | url(r'^(?P<project_id>[-\w]+)/delete$', views.delete_project, name='delete_project'), |
| 27 | url(r'^(?P<project_id>[-\w]+)/switch', views.switch_project, name='switch_project'), |
| 28 | url(r'^(?P<project_id>[-\w]+)/edit', views.edit_project, name='edit_project'), |
| lombardofr | 3218b2b | 2018-10-29 13:41:08 +0100 | [diff] [blame] | 29 | |
| 30 | |
| 31 | |
| lombardofr | 2ad37de | 2018-07-18 09:47:28 +0200 | [diff] [blame] | 32 | |
| lombardof | fb37bca | 2018-05-03 16:20:04 +0200 | [diff] [blame] | 33 | |
| 34 | ] |