diff --git a/source/lostplaces/lostplaces_app/urls.py b/source/lostplaces/lostplaces_app/urls.py
index 563e53a..7f08398 100644
--- a/source/lostplaces/lostplaces_app/urls.py
+++ b/source/lostplaces/lostplaces_app/urls.py
@@ -3,6 +3,6 @@ from .views import hello_world, place_detail_view, place_list_view
urlpatterns = [
path('hello_world/', hello_world),
- path('place//', place_detail_view),
+ path('place//', place_detail_view, name='place_detail'),
path('places/', place_list_view)
]
\ No newline at end of file
diff --git a/source/lostplaces/lostplaces_app/views.py b/source/lostplaces/lostplaces_app/views.py
index 07a4b08..a1fcc25 100644
--- a/source/lostplaces/lostplaces_app/views.py
+++ b/source/lostplaces/lostplaces_app/views.py
@@ -4,7 +4,7 @@ from .models import Place
# Create your views here.
def place_list_view(request,):
- return render(request, 'placeList.html', {'place':Place.objects.all()})
+ return render(request, 'placeList.html', {'place_list':Place.objects.all()})
def place_detail_view(request, pk):
return render(request, 'placeOverview.html', {'place':Place.objects.get(pk=pk)})