from django.shortcuts import render
from django.views.generic import DetailView
from .models import FurnitureCard
from .models import FurnitureCardTwo


def index(request):
    model = FurnitureCardTwo.objects.all()
    return render(request, 'MainBlog/index.html', {'model': model})


class FurnitureDetailView(DetailView):
    model = FurnitureCardTwo
    template_name = 'MainBlog/detail_view.html'
    context_object_name = 'post_el'

edd8a7dc01a22fa94abdf237a864d0da52ab7bfc
<mask token>


class FurnitureDetailView(DetailView):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class FurnitureDetailView(DetailView):
    model = FurnitureCardTwo
    template_name = 'MainBlog/detail_view.html'
    context_object_name = 'post_el'

<mask token>


def index(request):
    model = FurnitureCardTwo.objects.all()
    return render(request, 'MainBlog/index.html', {'model': model})


class FurnitureDetailView(DetailView):
    model = FurnitureCardTwo
    template_name = 'MainBlog/detail_view.html'
    context_object_name = 'post_el'

from django.shortcuts import render
from django.views.generic import DetailView
from .models import FurnitureCard
from .models import FurnitureCardTwo


def index(request):
    model = FurnitureCardTwo.objects.all()
    return render(request, 'MainBlog/index.html', {'model': model})


class FurnitureDetailView(DetailView):
    model = FurnitureCardTwo
    template_name = 'MainBlog/detail_view.html'
    context_object_name = 'post_el'
