example-of-crud-in-django-w.../app/libros/urls.py

10 lines
201 B
Python
Raw Normal View History

2021-07-12 07:01:26 +02:00
# app/libros/urls.py
from django.urls import path
from app.libros.views import ping, LibrosList
urlpatterns = [
path("ping/", ping, name="ping"),
path("api/libros/", LibrosList.as_view()),
]