mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 05:54:01 +03:00
0407a0df8a
Thanks to Jon Dufresne (@jdufresne) for review. Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com>
9 lines
206 B
Python
9 lines
206 B
Python
from django.conf.urls import include, url
|
|
|
|
from .views import MockView
|
|
|
|
urlpatterns = [
|
|
url(r'^$', MockView.as_view()),
|
|
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
|
|
]
|