aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-06 22:43:55 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-06 22:43:55 +0000
commita6afdd43f465099a8b77d72102bf44851b6960e1 (patch)
tree41677b63f66d3ecb01d24e39501de4fc3060ba64 /ctrack/organisations/views.py
parent77a956b4cbf42c47dee6d5430db8c3a479e6625d (diff)
working through formatting org page
Diffstat (limited to 'ctrack/organisations/views.py')
-rw-r--r--ctrack/organisations/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/organisations/views.py b/ctrack/organisations/views.py
index 84f30c4..361fcf2 100644
--- a/ctrack/organisations/views.py
+++ b/ctrack/organisations/views.py
@@ -24,4 +24,6 @@ class OrganisationDetailView(LoginRequiredMixin, DetailView):
context['no_addr'] = 1
addr = org.addresses.first()
context['addr'] = addr
+ people = org.person_set.all()
+ context['people'] = people
return context