django-rest-framework/tests/browsable_api/auth_urls.py

11 lines
269 B
Python
Raw Normal View History

from __future__ import unicode_literals
from django.conf.urls import patterns, url, include
2014-09-02 17:29:21 +04:00
from .views import MockView
urlpatterns = patterns(
'',
(r'^$', MockView.as_view()),
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
)