lostplaces-backend/source/lostplaces/lostplaces_app/urls.py
2020-07-26 23:34:03 +02:00

8 lines
259 B
Python

from django.urls import path
from .views import hello_world, place_detail_view, place_list_view
urlpatterns = [
path('hello_world/', hello_world),
path('place/<int:pk>/', place_detail_view, name='place_detail'),
path('places/', place_list_view)
]