Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.479 kB
from django.conf.urls.defaults import patterns, include, url
from tastypie.api import Api
from test_app.api.resources import *
v1_api = Api(api_name='v1')
v1_api.register(PersonResource())
v1_api.register(CustomerResource())
v1_api.register(EmbededDocumentFieldTestResource())
v1_api.register(DictFieldTestResource())
v1_api.register(ListFieldTestResource())
v1_api.register(EmbeddedListFieldTestResource())
urlpatterns = patterns('',
(r'^api/', include(v1_api.urls)),
)
Jump to Line
Something went wrong with that request. Please try again.