Commit 95b6ba08 by Dányi Bence

one: group data added to template variables

parent f57e25ec
......@@ -72,6 +72,7 @@ def home(request):
return render_to_response("home.html", RequestContext(request,{
'templates': Template.objects.all(),
'instances': _list_instances(request),
'groups': request.user.person_set.all()[0].owned_groups.all()
}))
@require_GET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment