12 lines
311 B
Python
12 lines
311 B
Python
from django.shortcuts import render
|
|
from .models import Place
|
|
|
|
# Create your views here.
|
|
|
|
def place_detail_view(request, pk):
|
|
return render(request, 'placeOverview.html', {'place':Place.objects.get(pk=pk)
|
|
})
|
|
|
|
def hello_world(request):
|
|
return render(request, 'hello_world.html', {'text':'Hello World!'})
|