diff options
Diffstat (limited to 'app/gtd/views.py')
-rw-r--r-- | app/gtd/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/gtd/views.py b/app/gtd/views.py index 8aa2c30..67a8b4e 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -209,6 +209,12 @@ class WiredPostNewView(ListView): return context +class WiredPostCreateView(CreateView): + model = WiredPost + fields = ['title', 'post_status', 'url', 'template_type', 'update_frequency', 'edit_url', 'date_last_pub'] + template_name = "gtd/wiredpost_form.html" + + class WiredPostTodoView(ListView): template_name = 'gtd/wiredpost_table.html' |