from .models import Question
from random import randint
from django.views import generic

# Create your views here.


class IndexView(generic.ListView):
    template_name = 'firstBeat/index.html'
    context_object_name = "propane"

    def get_queryset(self):
        return Question.objects.all()


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'


9d665d1ae685af4a659ba8840dc16efe87379657
<mask token>


class IndexView(generic.ListView):
    <mask token>
    <mask token>
    <mask token>


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'

<mask token>


class IndexView(generic.ListView):
    <mask token>
    <mask token>

    def get_queryset(self):
        return Question.objects.all()


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'

<mask token>


class IndexView(generic.ListView):
    template_name = 'firstBeat/index.html'
    context_object_name = 'propane'

    def get_queryset(self):
        return Question.objects.all()


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'

from .models import Question
from random import randint
from django.views import generic


class IndexView(generic.ListView):
    template_name = 'firstBeat/index.html'
    context_object_name = 'propane'

    def get_queryset(self):
        return Question.objects.all()


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'

from .models import Question
from random import randint
from django.views import generic

# Create your views here.


class IndexView(generic.ListView):
    template_name = 'firstBeat/index.html'
    context_object_name = "propane"

    def get_queryset(self):
        return Question.objects.all()


class DetailView(generic.DetailView):
    model = Question
    template_name = 'firstBeat/details.html'

