2017-09-18 12:43:59 +02:00
|
|
|
from django.shortcuts import render
|
|
|
|
|
2017-09-19 14:30:56 +02:00
|
|
|
from jci.models import Goal
|
|
|
|
|
|
|
|
|
|
|
|
def jci_list(request):
|
|
|
|
goals = Goal.objects.filter(parent__isnull=True).all()
|
|
|
|
return render(request, 'jci/list.html', {'goals': goals})
|