File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ Next version
77~~~~~~~~~~~~
88
99- Added Django 5.2a1 to the CI.
10+ - Undeprecated the :mod: `~feincms3.mixins.TemplateMixin `, it's useful even
11+ though using :mod: `~feincms3.applications.PageTypeMixin ` is obviously
12+ preferred.
1013
1114
12155.3 (2024-11-18)
@@ -201,8 +204,8 @@ Next version
201204- Added a system check for the ``app_name `` value of application URLconf
202205 modules.
203206- Added a system check for the values of ``MenuMixin.MENUS ``.
204- - Slowly start deprecating the :mod: `~feincms3.mixins.TemplateMixin `. (It
205- probably won't go away for a long time .)
207+ - Slowly start deprecating the :mod: `~feincms3.mixins.TemplateMixin `. (NOTE!
208+ The deprecation has been reverted .)
206209
207210
208211`3.3 `_ (2022-03-03)
Original file line number Diff line number Diff line change 1- import warnings
2-
31from django .conf import settings
42from django .core .checks import Warning
53from django .db import models
@@ -102,15 +100,6 @@ def fill_template_key_choices(sender, **kwargs):
102100 field .default = sender .TEMPLATES [0 ].key
103101 sender .TEMPLATES_DICT = {t .key : t for t in sender .TEMPLATES }
104102
105- warnings .warn (
106- f"{ sender ._meta .label } uses the TemplateMixin."
107- " It is recommended to use the PageTypeMixin and TemplateType"
108- " from feincms3.applications even if you're not planning to use"
109- " any apps." ,
110- DeprecationWarning ,
111- stacklevel = 1 ,
112- )
113-
114103
115104signals .class_prepared .connect (TemplateMixin .fill_template_key_choices )
116105
You can’t perform that action at this time.
0 commit comments