mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
rename producttype
to product_type
This commit is contained in:
@ -38,7 +38,7 @@ class ProductTypeSchema(ModelSchema):
|
||||
|
||||
@staticmethod
|
||||
def resolve_url(obj: ProductType) -> str:
|
||||
return reverse("counter:producttype_edit", kwargs={"type_id": obj.id})
|
||||
return reverse("counter:product_type_edit", kwargs={"type_id": obj.id})
|
||||
|
||||
|
||||
class SimpleProductTypeSchema(ModelSchema):
|
||||
|
Reference in New Issue
Block a user