File: no_auth_urls.py

package info (click to toggle)
djangorestframework 3.16.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,092 kB
  • sloc: javascript: 31,965; python: 29,367; makefile: 32; sh: 6
file content (8 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from django.urls import path

from .views import BasicModelWithUsersViewSet, MockView

urlpatterns = [
    path('', MockView.as_view()),
    path('basicviewset', BasicModelWithUsersViewSet.as_view({'get': 'list'})),
]