X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=quotes%2Fviews.py;h=2171062cf781702aa881dcd7c49feca9826a8f79;hp=2aca193501b703c79ac77177000fbfc92102ae05;hb=986f25ddd8f8a6cd28ad121e2f873ebbe928257d;hpb=243bb33aafac5c80b4404e5917fe54bfec6fa73f diff --git a/quotes/views.py b/quotes/views.py index 2aca193..2171062 100644 --- a/quotes/views.py +++ b/quotes/views.py @@ -6,6 +6,9 @@ from quotes.models import Author, Work, Quote, QuoteTag import quotes.search as search # Create your views here. +def index(request): + return render(request, 'quotes/index.html') + def onequote(request, quote_id): q = Quote.objects.get(id=quote_id) q.incr_display()