mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-10 21:00:28 +00:00
Add created_at and updated_at to Product model
This commit is contained in:
1 parent
e7584c8c83
commit
0eccb4a5b5
3 files changed
+71
-1
No files matched your search
+2
-1
@@ -39,8 +39,9 @@ class ProductAdmin(SearchModelAdmin):
|
||||
"code",
|
||||
"product_type",
|
||||
"selling_price",
|
||||
"profit",
|
||||
"archived",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
)
|
||||
list_select_related = ("product_type",)
|
||||
search_fields = ("name", "code")
|
||||
|
||||
Reference in new issue
Block a user