mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 05:36:50 +03:00
e7af8d662b
* tests for #5127 * Resolves #5127
9 lines
218 B
Python
9 lines
218 B
Python
from django.urls import path
|
|
|
|
from .views import BasicModelWithUsersViewSet, MockView
|
|
|
|
urlpatterns = [
|
|
path('', MockView.as_view()),
|
|
path('basicviewset', BasicModelWithUsersViewSet.as_view({'get': 'list'})),
|
|
]
|