rename producttype to product_type

This commit is contained in:
imperosol committed 2024-12-18 14:48:59 +01:00
1 parent 8d643fc6b4
commit 5da27bb266
8 files changed
+29 -24

No files matched your search

+2 -1
View File
@@ -101,8 +101,9 @@ class ProductTypeListView(CounterAdminTabsMixin, CounterAdminMixin, ListView):
"""A list view for the admins."""
model = ProductType
template_name = "counter/producttype_list.jinja"
template_name = "counter/product_type_list.jinja"
current_tab = "product_types"
context_object_name = "product_types"
class ProductTypeCreateView(CounterAdminTabsMixin, CounterAdminMixin, CreateView):