send request & projects with context processor

This commit is contained in:
Élie Bouttier 2014-08-05 23:51:23 -07:00
parent 291873fffe
commit be9f657e4b
3 changed files with 15 additions and 45 deletions

View file

@ -0,0 +1,6 @@
from issue.models import Project
def projects(request):
projects = Project.objects.all()
return {'projects': projects}