aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-02-07 17:11:21 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-02-07 17:11:21 +0000
commit93bc9d8e6386b8884863d27bef21d92eb60766d6 (patch)
tree54a5f8bbc43888568c846b8634a5f94794dcc7e1 /ctrack/caf/views.py
parent60ec91d03fc6a5b9a5f650bfc3f8959473597bdd (diff)
continued to work on create CAF form - including help_text to create parent object
Diffstat (limited to '')
-rw-r--r--ctrack/caf/views.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index f344aa7..d20b503 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -1,4 +1,4 @@
-from django.views.generic import CreateView
+from django.views.generic import CreateView, ListView
from ctrack.caf.forms import CAFForm
@@ -11,3 +11,8 @@ class CreateCAF(CreateView):
context = super().get_context_data(**kwargs)
context['form'] = self.form_class
return context
+
+
+class ListCAF(ListView):
+ pass
+