blob: c0a4443e2cd0a86f6c8c002cdc7ae85021cc7f35 [file] [log] [blame]
Tony Mack176c5f12013-04-09 18:55:07 -04001from django.conf.urls import patterns, include, url
2
3# Uncomment the next two lines to enable the admin:
4from django.contrib import admin
5from plstackapi.planetstack.api_root import api_root
6from rest_framework import generics
7
8admin.autodiscover()
9
10urlpatterns = patterns('',
11 # Examples:
12 # url(r'^$', 'planetstack.views.home', name='home'),
13 # url(r'^planetstack/', include('planetstack.foo.urls')),
14
15 # Uncomment the admin/doc line below to enable admin documentation:
16 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
17
18 # Uncomment the next line to enable the admin:
19 url(r'^admin/', include(admin.site.urls)),
20
21 url(r'^plstackapi/$', api_root),
22
23 #Adding in rest_framework urls
24 url(r'^plstackapi/', include('rest_framework.urls', namespace='rest_framework')),
25
26)