Ejemplo n.º 1
0
def Playground_List(request):

	playgrounds = Playground.objects.all()
	f = playgroundFilter(request.GET, queryset=Playground.objects.all())
	context = {
		'filter': f,
		'playgrounds': playgrounds,
	}
	return render (request, "playgroundApp/home.html", context)
Ejemplo n.º 2
0
def testFilter(request):
	f = playgroundFilter(request.GET, queryset=Playground.objects.all())
	return render_to_response('playgroundApp/filterTest.html',{'filter': f})