from django.shortcuts import render
from . models import Board


def home(request):
    boards = Board.objects.all()
    return render(request, 'home.html', {'boards' : boards})

from django.shortcuts import render
from . models import Board


def home(request):
    boards = Board.objects.all()
    return render(request, 'home.html', {'boards' : boards})
