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

9 lines
206 B
Python
Raw Normal View History

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')),
]