mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
12 lines
270 B
Python
12 lines
270 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')),
|
|
)
|