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

11 lines
247 B
Python
Raw Normal View History

from __future__ import unicode_literals
2015-06-25 23:55:51 +03:00
from django.conf.urls import include, url
2015-06-25 23:55:51 +03:00
from .views import MockView
urlpatterns = [
url(r'^$', MockView.as_view()),
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
]