Commit 880c157a authored by Jason D Yeomans's avatar Jason D Yeomans
Browse files

Fixed detailBuilding context names

parent 11739410
......@@ -13,7 +13,7 @@ class ListBuildings(LoginRequiredMixin, ListView):
# building floors, other information
class DetailBuilding(LoginRequiredMixin, DetailView):
model = Building
context_object_name = 'building_detail'
context_object_name = 'building'
template_name='detailBuilding.html'
def get_context_data(self, **kwargs):
......
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 to comment