from __future__ import unicode_literals from django.conf.urls import url, include from .views import MockView urlpatterns = [ url(r'^$', MockView.as_view()), url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')), ]