from .forms import EpisodeAutoSelectionCellForm
return EpisodeAutoSelectionCellForm
+ def get_additional_label(self):
+ if self.title:
+ return self.title
+ return ''
@register_cell_class
class NewsItemAutoSelectionCell(CellBase):
def get_default_form_class(self):
from .forms import NewsItemAutoSelectionCellForm
return NewsItemAutoSelectionCellForm
+
+ def get_additional_label(self):
+ if self.title:
+ return self.title
+ return ''