Skip to content

Commit ec21f2a

Browse files
committed
Revert leftovers from 29e929e and b510c75
Moved to branch `task/GH-73-…` as 89ce2c6 and 4ea2e1c respectively. A.k.a.: - "(…)Noop: Existing Plugins: Comments, New Lines " - "(…)Polish Existing Plugins"
1 parent ef55e0c commit ec21f2a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

taccsite_cms/contrib/taccsite_sample/cms_plugins.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ class TaccsiteSamplePlugin(CMSPluginBase):
2323

2424
cache = False
2525
text_enabled = True
26-
allow_children = False
2726
# NOTE: Use case is unclear
2827
# admin_preview = True
2928
# NOTE: To change for all TACC plugins add taccsite_cms/templates/admin/...
3029
# change_form_template = 'templates/plugin_change_form.html'
3130
# NOTE: To change field widget and other attribute beyond `models.…Field`
32-
# (Optionally, consider `formfield_overrides`:
33-
# https://django.readthedocs.io/en/latest/ref/contrib/admin/index.html#django.contrib.admin.ModelAdmin.formfield_overrides)
3431
# form = TaccsiteSamplePluginForm # TODO: Provide example
3532

3633
# FAQ: Sets tooltip of preview of this plugin within a Text plugin
@@ -42,7 +39,6 @@ def icon_alt(self, instance):
4239
# def icon_src(self, instance)
4340
# def text_editor_button_icon(...)
4441

45-
# Render
4642
def render(self, context, instance, placeholder):
4743
context = super().render(context, instance, placeholder)
4844
request = context['request']

0 commit comments

Comments
 (0)