forked from munki/munkiwebadmin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathurls.py
29 lines (25 loc) · 1.18 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
from django.conf.urls import patterns, include, url
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('',
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'),
url(r'^manifest/', include('manifests.urls')),
url(r'^catalog/', include('catalogs.urls')),
url(r'^report/', include('reports.urls')),
url(r'^inventory/', include('inventory.urls')),
url(r'^licenses/', include('licenses.urls')),
# for compatibility with MunkiReport scripts
url(r'^update/', include('reports.urls')),
url(r'^lookup/', include('reports.urls')),
url(r'^$', include('reports.urls')),
)
# comment out the following if you are serving
# static files a different way
urlpatterns += staticfiles_urlpatterns()