Answered You can hire a professional tutor to get the answer.
This applications 'myapp'(a website for a products store) was developed in Django and use with PyCharm .py, create a class ClientAdmin(admin.
This applications 'myapp'(a website for a products store) was developed in Django and use with PyCharm.
Please help me to answer question:
- In admin.py, create a class ClientAdmin(admin.ModelAdmin), register this with the admin site and show the first_name, last_name, city fields and list of categories the client is interested in, for each client, in the admin interface page that lists all clients.
The current admin.py :
django.contrib admin .models Product, Category, Client, Order : product queryset:product.stock = product.stock +product.save()add_stock.short_description = :list_display = (, , , )actions = [add_stock]admin.site.register(Product, ProductAdmin)admin.site.register(Category)admin.site.register(Client)admin.site.register(Order)- Please help me to answer the question completely and accurately, e.g. if just updating the admin.py is