diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 14:23:07 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 14:23:07 +0100 |
commit | 739b3dd6aa383f70e5442e74fb4d217d5619d110 (patch) | |
tree | 54d9ef6fad57c7dbc6283b0a2cc2cd73955dc80c /ctrack/organisations/views.py | |
parent | 8edc6a41c160ff75e964db45371e4ae63fb68c17 (diff) |
IncidentReport model in place and func test passing so far
Diffstat (limited to 'ctrack/organisations/views.py')
-rw-r--r-- | ctrack/organisations/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/organisations/views.py b/ctrack/organisations/views.py index 3363a33..e73792a 100644 --- a/ctrack/organisations/views.py +++ b/ctrack/organisations/views.py @@ -9,7 +9,7 @@ from django.db import transaction from django.urls import reverse_lazy from django.views.generic import CreateView, DetailView, ListView -from .forms import AddressInlineFormSet, OrganisationCreateForm +from .forms import AddressInlineFormSet, IncidentReportForm, OrganisationCreateForm from .models import IncidentReport, Organisation @@ -76,3 +76,4 @@ class OrganisationDetailView(LoginRequiredMixin, DetailView): class IncidentReportCreateView(LoginRequiredMixin, CreateView): model = IncidentReport fields = "__all__" + form = IncidentReportForm |