forked from voilet/cmdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
executable file
·30 lines (25 loc) · 1.03 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
#-*- coding: utf-8 -*-
#=============================================================================
# FileName:
# Desc:
# Author: 苦咖啡
# Email: [email protected]
# HomePage: http://blog.kukafei520.net
# Version: 0.0.1
# LastChange:
# History:
#=============================================================================
from django.conf.urls import patterns, include, url
from assets import views, service_views, salt_cdn_cmdb
urlpatterns = patterns('',
url(r'^add/$', "malfunction.views.FaultAdd"),
url(r'^my/$', "malfunction.views.FaultMy"),
url(r'^nodone/$', "malfunction.views.FaultNoDone", name="FaultNoDone"),
url(r'^done/$', "malfunction.views.FaultDone"),
url(r'^source/$', "malfunction.views.FaultSource"),
url(r'^classical/$', "malfunction.views.FaultClassical"),
url(r'^edit/(?P<uuid>[^/]+)/$', "malfunction.views.FaultEdit"),
url(r'^(?P<uuid>[^/]+)/$', "malfunction.views.FaultDetail"),
url(r'$', "malfunction.views.FaultIndex"),
)