|
|
@@ -674,6 +674,15 @@ class ProduktCardDetailView(ProduktDetailView):
|
|
|
template_name = 'marktplatz/product_detail_card.html'
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+#
|
|
|
+#
|
|
|
+# CREATE CREATE CREATE CREATE CREATE CREATE CREATE CREATE CREATE
|
|
|
+#
|
|
|
+#
|
|
|
+
|
|
|
+
|
|
|
class ProductDispatchView(TemplateView):
|
|
|
|
|
|
template_name = 'marktplatz/product_create_dispatch.html'
|
|
|
@@ -745,23 +754,13 @@ class ProductCreatePublishView (ProductGenericCreateView):
|
|
|
return reverse_lazy('product-publish', kwargs={'pk': self.object.id } )
|
|
|
|
|
|
|
|
|
-class WohnProjektCreateView(ProductCreateView):
|
|
|
- model = Wohnprojekt
|
|
|
- form_class = WohnprojektForm
|
|
|
-
|
|
|
-class MobilitaetsProjektCreateView(ProductCreateView):
|
|
|
- model = MobilitaetsProjekt
|
|
|
- form_class = MobilitaetsForm
|
|
|
-
|
|
|
-class ErnaehrungsProjektCreateView(ProductCreateView):
|
|
|
- model = ErnaehrungsProjekt
|
|
|
- form_class = ErnaehrungsForm
|
|
|
-
|
|
|
-class EnergyProjektCreateView(ProductCreateView):
|
|
|
- model = EnergyProjekt
|
|
|
- form_class = EnergyForm
|
|
|
|
|
|
|
|
|
+#
|
|
|
+#
|
|
|
+# UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE
|
|
|
+#
|
|
|
+#
|
|
|
|
|
|
|
|
|
class ProductUpdateView(LoginRequiredMixin, UpdateView):
|