: (admin.E108) The value of
'list_display[2]' refers to 'stock', which is not a callable, an attribute
of 'ProductAdmin', or an attribute or method on 'products.Product'.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
Thanks, all for the responses! They're helpful, particularly:
- Using a separate single service to run migrations
- django-syzygy looks interesting and might also solve another issue
we've been having lately trying to achieve zero-downtime deploys
Best,
Harris
On Sunday, January 8, 202
On 10/01/2023 12.53, E Mollz wrote:
: (admin.E108) The value of
'list_display[2]' refers to 'stock', which is not a callable, an
attribute of 'ProductAdmin', or an attribute or method on
'products.Product'.
Unfortunately you've run into one of the issues modern science has not
yet been abl
merhaba arkadaşlar benim KEMAL.
django ile muhasebe uygulaması yaptrmak istiyorum.
içerik neler olacağı hazır.
benimle birebir çalışacak güvenilir yazılımcı arıyorum.
ve 2. projem django ile eticaret yazılımı yaptırmak isityorum.
--
You received this message because you are subscribed to the G
This is due to an error in your admin class (ProductAdmin in this case)
The error message points directly where and what you need to check
(spoiler: list_display item, 3rd field “stock”, which is incorrect).
-- Original Message --
From "E Mollz"
To "Django users"
Date 1/10/2023 1
The problem here is that list_display[2] is referring to an attribute or
method that does not exist. You will need to either add the attribute or
method to the Product class, or remove the item from list_display. If you
are looking to display the stock of a product, you could add a method to the
Pr
6 matches
Mail list logo