views.py 292 Bytes
Newer Older
Guilhem Saurel's avatar
initial  
Guilhem Saurel committed
1
2
from django.shortcuts import render

Guilhem Saurel's avatar
Guilhem Saurel committed
3
4
5
6
7
8
9
10
11
from .models import Forge, Namespace, Project


def home(request):
    return render(request, 'rainboard/home.html', {
        'forges': Forge.objects.all(),
        'namespaces': Namespace.objects.all(),
        'projects': Project.objects.all(),
    })