Skip to content

Commit

Permalink
Documentation: incorrect default path for `CMSPluginBase.change_form_…
Browse files Browse the repository at this point in the history
…template`

The default template path for CMSPluginBase.change_form_template in the documentation is wrong.  
https://docs.django-cms.org/en/latest/reference/plugins.html#cms.plugin_base.CMSPluginBase.change_form_template
  • Loading branch information
mbi committed Jun 1, 2021
1 parent 0afbe9e commit 5b93882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/plugins.rst
Expand Up @@ -70,7 +70,7 @@ CMSPluginBase Attributes and Methods Reference

.. attribute:: change_form_template

Default: ``admin/cms/page/plugin_change_form.html``
Default: ``admin/cms/page/plugin/change_form.html``

The template used to render the form when you edit the plugin.

Expand All @@ -80,7 +80,7 @@ CMSPluginBase Attributes and Methods Reference
model = MyModel
name = _("My Plugin")
render_template = "cms/plugins/my_plugin.html"
change_form_template = "admin/cms/page/plugin_change_form.html"
change_form_template = "admin/cms/page/plugin/change_form.html"

See also: :attr:`frontend_edit_template`.

Expand Down

0 comments on commit 5b93882

Please sign in to comment.