7 lines
183 B
Python

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