79175166

Date: 2024-11-10 15:29:30
Score: 0.5
Natty:
Report link

I guess, the simplest way is to do the following

class ProductBlockPlugin(CMSPluginBase):
    autocomplete_fields = ['product']
    ...

Django CMS plugins do not register their own ModelAdmin, since they already are a subclass of ModelAdmin and already have the autocomplete functionality built-in.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fabian