In the Django property app, in the module file at /path/to/repo/www/chapter_08/property/urls.py, we add two routes, as shown here. The first route gives us access to the property listing. The second route is used by the jQuery AJAX request. They both define a property key parameter:
urlpatterns = [
path('list/<slug:prop_key>/', views.listProp, name='property_list'),
path('json/rooms/<slug:prop_key>/', \
views.autoPopRoomsByPropKey, \
name='property_json_rooms_by_prop_key'),
# other URL routes not shown
]
Note that we use the convention of a backslash (\) to indicate that two lines should be on a single line.