mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 05:24:00 +03:00
10 lines
367 B
Python
10 lines
367 B
Python
from django.conf.urls.defaults import patterns, url
|
|
from requestexample.views import RequestExampleView, EchoRequestContentView
|
|
from examples.views import ProxyView
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', RequestExampleView.as_view(), name='request-example'),
|
|
url(r'^content$', ProxyView.as_view(view_class=EchoRequestContentView), name='request-content'),
|
|
)
|