django-rest-framework/examples/modelresourceexample/urls.py
2011-02-01 22:37:51 +00:00

7 lines
200 B
Python

from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('modelresourceexample.views',
url(r'^$', 'MyModelRootResource'),
url(r'^([0-9]+)/$', 'MyModelResource'),
)