Commit graph

2 commits

Author SHA1 Message Date
b4292fde53 Features: 1) Add JSONField system_attributes to stock model with default as an empty dictionary; 2) Extend sitemaps for Category and Brand to include slug in queried fields;
Fixes: None;

Extra: 1) Standardize quotes in migration dependencies and field declarations; 2) Break down queryset methods in sitemaps for improved readability;
2025-10-26 22:34:01 +03:00
d2b3dccda9 Features: 1) Add system_attributes JSONField to Stock model; 2) Introduce StockForm with system_attributes widget; 3) Integrate StockForm into StockAdmin in Django admin panel.
Fixes: None;

Extra: 1) Update migrations to include addition of `system_attributes`; 2) Modify admin interface to display `system_attributes` in additional_fields.
2025-10-26 19:59:43 +03:00