vcp-elearning/tkupek_elearning/elearning/views.py
2016-01-31 16:17:37 +01:00

9 lines
No EOL
234 B
Python

from django.shortcuts import render_to_response
from tkupek_elearning.elearning.models import question
def home(request):
questions = question.objects.all()
return render_to_response('index.html', {'questions': questions})