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

12 lines
270 B
Python
Raw Normal View History

from __future__ import unicode_literals
from django.conf.urls import patterns, url, include
2015-01-24 22:00:36 +03:00
from .views import MockView
urlpatterns = patterns(
'',
(r'^$', MockView.as_view()),
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
)