10 lines
251 B
Python
10 lines
251 B
Python
from django.urls import include, path
|
|
|
|
from notes import api_views
|
|
|
|
|
|
urlpatterns = [
|
|
path("api/notes/", api_views.NoteListView.as_view(), name="api-notes-list"),
|
|
path("api-auth/", include("rest_framework.urls", namespace="rest_framework")),
|
|
]
|