2011-01-30 21:30:39 +03:00
|
|
|
from django.conf.urls.defaults import patterns, url
|
|
|
|
|
|
|
|
urlpatterns = patterns('simpleexample.views',
|
2011-01-31 11:41:21 +03:00
|
|
|
url(r'^$', 'MyModelRootResource'),
|
2011-01-30 21:30:39 +03:00
|
|
|
url(r'^([0-9]+)/$', 'MyModelResource'),
|
|
|
|
)
|