Correction after rebase/merge
authorymh <ymh.work@gmail.com>
Wed, 04 Sep 2013 12:19:06 +0200
changeset 29 3a3b90b1abb2
parent 28 f26426e9360b
child 30 a84e31f1f223
Correction after rebase/merge
src/p4l/views.py
--- a/src/p4l/views.py	Wed Sep 04 10:46:53 2013 +0200
+++ b/src/p4l/views.py	Wed Sep 04 12:19:06 2013 +0200
@@ -114,13 +114,13 @@
         return context
 
 
-# class RecordEditView(TemplateView):
-#     http_method_names = ['get']
-#     template_name = 'record_update_form.html'
+class RecordEditView(TemplateView):
+    http_method_names = ['get']
+    template_name = 'p4l/record_update_form.html'
 
-class RecordEditView(UpdateView):
-    model = Record
-    template_name_suffix = '_update_form'
-    slug_field = "identifier"
-    slug_url_kwarg = "id"
+# class RecordEditView(UpdateView):
+#     model = Record
+#     template_name_suffix = '_update_form'
+#     slug_field = "identifier"
+#     slug_url_kwarg = "id"