from django.shortcuts import render
from .models import Realisation

# Create your views here.
def index(request):
    return render(request, 'index.html')


def mentions_legales(request):
    return render(request, 'mentions_legales.html')


def realisations_list(request):
    items = Realisation.objects.filter(published=True)
    return render(request, 'list_realisations.html', {'realisations': items})
