mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 21:56:59 +03:00
11 lines
269 B
Python
11 lines
269 B
Python
from __future__ import unicode_literals
|
|
from django.conf.urls import patterns, url, include
|
|
|
|
from .views import MockView
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
(r'^$', MockView.as_view()),
|
|
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
|
|
)
|