File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
- === 3.8.0 (unreleased) ===
1
+ === 3.7.1 (unreleased) ===
2
+
2
3
* Fixed ``ValueError`` when creating a ``Site``-bound ``StaticPlaceholder``
4
+ * Updated branch policy
5
+ * Improved and simplified permissions documentation
6
+ * Improved apphooks documentation
7
+ * Improved CMSPluginBase docu
8000
mentation
8
+ * Improved documentation related to nested plugins
3
9
4
10
5
11
=== 3.7.0 (2019-09-25) ===
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ We maintain a number of branches on `our GitHub repository <https://github.com/d
98
98
The default target branch for on-going development.
99
99
100
100
the latest (highest-numbered) ``release/x.y.z ``
101
- This is the branch that will become the next release on PyPI. `` develop `` will be merged into ``release/x.y.z ``
102
- regularly .
101
+ This is the branch that will become the next release on PyPI. Commits will be cherrypicked from ``develop ``
102
+ and merged into `` release/x.y.z `` during the next iterative release .
103
103
104
104
Older ``release/x.y.z `` branches
105
105
These represent the final point of development (the highest ``y `` of older versions). Releases in the full set of
Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ achieve this functionality:
706
706
707
707
708
708
If you have attributes of the parent plugin which you need to access in the
709
- child you can access the parent instance using ``get_plugin_instance ``:
709
+ child you can access the parent instance using ``get_bound_plugin ``:
710
710
711
711
.. code-block :: django
712
712
@@ -719,7 +719,7 @@ child you can access the parent instance using ``get_plugin_instance``:
719
719
def __init__(self, *args, **kwargs):
720
720
super(ChildPluginForm, self).__init__(*args, **kwargs)
721
721
if self.instance:
722
- parent, parent_cls = self.instance.parent.get_plugin_instance ()
722
+ parent, parent_cls = self.instance.parent.get_bound_plugin ()
723
723
724
724
725
725
.. _extending_context_menus :
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ CMSPlugin Attributes and Methods Reference
494
494
495
495
from djangocms_text_ckeditor.models import Text
496
496
497
- plugin = Text.objects.get(pk=1).get_plugin_instance ()[0]
497
+ plugin = Text.objects.get(pk=1).get_bound_plugin ()[0]
498
498
plugin.get_translatable_content()
499
499
# returns {'body': u'<p>I am text!</p>\n'}
500
500
@@ -530,7 +530,7 @@ CMSPlugin Attributes and Methods Reference
530
530
531
531
from djangocms_text_ckeditor.models import Text
532
532
533
- plugin = Text.objects.get(pk=1).get_plugin_instance ()[0]
533
+ plugin = Text.objects.get(pk=1).get_bound_plugin ()[0]
534
534
plugin.set_translatable_content({'body': u'<p>This is a different text!</p>\n'})
535
535
# returns
3C3C
True
536
536
You can’t perform that action at this time.
0 commit comments