forked from immesys/powerdb2
-
Notifications
You must be signed in to change notification settings - Fork 2
/
urls.py
45 lines (28 loc) · 1.22 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from django.conf.urls import *
from django.conf import settings
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^powerdb/', include('powerdb.foo.urls')),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
(r'^plot/', include('smap.urls')),
(r'^status/', include('status.urls')),
(r'^backend/', include('backend.urls')),
(r'^backend_auth/', include('backend.urls')),
# (r'^api/', include('powerdb2.api.urls')),
# (r'^datacenter/', include('powerdb2.datacenter.urls')),
(r'^robots.txt.*', 'views.robots'),
(r'^alert/', include('alert.urls')),
(r'^$', 'views.root'),
(r'^status/', include('status.urls')),
(r'^dashboard/', 'status.views.dashboard'),
(r'^smap_query/', 'status.views.smap_query')
)
urlpatterns += staticfiles_urlpatterns()