]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | from django.conf.urls import patterns, include, url |
2 | ||
3 | # Uncomment the next two lines to enable the admin: | |
4 | # from django.contrib import admin | |
5 | # admin.autodiscover() | |
6 | ||
7 | urlpatterns = patterns( | |
8 | '', | |
9 | ||
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')), | |
14 | ||
15 | url(r'^api/v2/', include('rest.app.urls.v2')), | |
16 | ) | |
17 | ||
18 | #handler500 = 'calamari_web.views.server_error' |