Features: 1) Update admin fields for tags and stocks__vendor to use DALFRelatedFieldAjax;
Fixes: 1) Resolve inconsistency by replacing `DALFRelatedOnlyField` with `DALFRelatedFieldAjax`; Extra: Clean up admin field definitions to align with the latest field usage.
This commit is contained in:
parent
ef42a7dbe7
commit
1e2b64514b
1 changed files with 2 additions and 2 deletions
|
|
@ -244,8 +244,8 @@ class ProductAdmin(FieldsetsMixin, BasicModelAdmin):
|
||||||
"is_digital",
|
"is_digital",
|
||||||
("brand", DALFRelatedFieldAjax),
|
("brand", DALFRelatedFieldAjax),
|
||||||
("category", DALFRelatedFieldAjax),
|
("category", DALFRelatedFieldAjax),
|
||||||
("tags", DALFRelatedOnlyField),
|
("tags", DALFRelatedFieldAjax),
|
||||||
("stocks__vendor", DALFRelatedOnlyField),
|
("stocks__vendor", DALFRelatedFieldAjax),
|
||||||
"created",
|
"created",
|
||||||
"modified",
|
"modified",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue