]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/rest/app/urls/__init__.py
1 from django
.conf
.urls
import patterns
, include
, url
3 # Uncomment the next two lines to enable the admin:
4 # from django.contrib import admin
7 urlpatterns
= patterns(
10 # These views are needed for the django-rest-framework debug interface
11 # to be able to log in and out. The URL path doesn't matter, rest_framework
12 # finds the views by name.
13 url(r
'^api/rest_framework/', include('rest_framework.urls', namespace
='rest_framework')),
15 url(r
'^api/v2/', include('rest.app.urls.v2')),
18 #handler500 = 'calamari_web.views.server_error'