aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-29 14:23:07 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-29 14:23:07 +0100
commit739b3dd6aa383f70e5442e74fb4d217d5619d110 (patch)
tree54d9ef6fad57c7dbc6283b0a2cc2cd73955dc80c /ctrack/organisations/views.py
parent8edc6a41c160ff75e964db45371e4ae63fb68c17 (diff)
IncidentReport model in place and func test passing so far
Diffstat (limited to 'ctrack/organisations/views.py')
-rw-r--r--ctrack/organisations/views.py3
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