mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 20:27:12 +03:00
7 lines
212 B
Python
7 lines
212 B
Python
from django.conf.urls.defaults import patterns, url
|
|
|
|
urlpatterns = patterns('resourceexample.views',
|
|
url(r'^$', 'ExampleResource'),
|
|
url(r'^(?P<num>[0-9]+)/$', 'AnotherExampleResource'),
|
|
)
|