Skip to content

Commit

Permalink
[NEW] Release 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sveetch committed Feb 27, 2021
1 parent 53bddc7 commit 79768e5
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 11 deletions.
26 changes: 20 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.. _django-blog-zinnia: http://django-blog-zinnia.com/
.. _django-blog-xinnia: https://github.com/emencia/django-blog-xinnia
.. _django-cms: http://django-cms.com/

========================
emencia-cmsplugin-xinnia
========================
Expand All @@ -6,12 +10,13 @@ emencia-cmsplugin-xinnia
This is a fork of
`emencia-cmsplugin-zinnia <https://github.com/emencia/emencia-cmsplugin-zinnia>`_
(which was a fork of original "cmsplugin-zinnia") to include fixes for last
Django and DjangoCMS versions with django-blog-xinnia (a fork of django-blog-zinnia).
Django and DjangoCMS versions with `django-blog-xinnia`_ (a fork of
`django-blog-zinnia`_).

Code is almost unchanged except for needed fixes and even package has renamed
"zinnia" to "xinnia", its module has keeped the old name.
Code is almost unchanged except for needed fixes and even if package name
has been renamed "xinnia", its module is still ``cmsplugin_zinnia``.

Cmsplugin-zinnia is a bridge between `django-blog-zinnia`_ and
Cmsplugin-zinnia is a bridge between `django-blog-xinnia`_ and
`django-cms`_.

This package provides plugins, menus and apphook to integrate your Zinnia
Expand Down Expand Up @@ -129,8 +134,17 @@ Changelog
Previous release history can be find in
`original fork <https://github.com/emencia/emencia-cmsplugin-zinnia>`_.

0.9.0
-----
0.9.1 - 2021/02/27
------------------

* Drop support for Django<2.2 and django-cms<3.7;
* Fix some package informations
* Add missing pending migrations for template fields update from ">0.9";
* Use ``BooleanField`` with ``null=True`` instead of deprecated
``NullBooleanField``;

0.9.0 - 2021/02/23
------------------

* Remove usage of deprecated ``python_2_unicode_compatible`` in models;
* Use ``gettext_lazy`` instead of deprecated ``ugettext_lazy``;
Expand Down
6 changes: 3 additions & 3 deletions cmsplugin_zinnia/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""cmsplugin_zinnia"""
__version__ = '0.9.0'
__version__ = '0.9.1'
__license__ = 'BSD License'

__author__ = 'Emencia',
__email__ = '[email protected]',
__author__ = 'Emencia'
__email__ = '[email protected]'

__url__ = 'https://github.com/emencia/emencia-cmsplugin-xinnia'
28 changes: 28 additions & 0 deletions cmsplugin_zinnia/migrations/0005_update_template_field.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 3.1.7 on 2021-02-25 02:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('cmsplugin_zinnia', '0004_fix_empty_template'),
]

operations = [
migrations.AlterField(
model_name='queryentriesplugin',
name='template_to_render',
field=models.CharField(blank=True, choices=[('cmsplugin_zinnia/entry_list.html', 'Entry list (default)'), ('cmsplugin_zinnia/entry_detail.html', 'Entry detailed'), ('cmsplugin_zinnia/entry_slider.html', 'Entry slider')], default='cmsplugin_zinnia/entry_list.html', help_text='template used to display the plugin', max_length=250, verbose_name='template'),
),
migrations.AlterField(
model_name='randomentriesplugin',
name='template_to_render',
field=models.CharField(blank=True, choices=[('cmsplugin_zinnia/entry_list.html', 'Entry list (default)'), ('cmsplugin_zinnia/entry_detail.html', 'Entry detailed'), ('cmsplugin_zinnia/entry_slider.html', 'Entry slider')], default='cmsplugin_zinnia/entry_list.html', help_text='template used to display the plugin', max_length=250, verbose_name='template'),
),
migrations.AlterField(
model_name='selectedentriesplugin',
name='template_to_render',
field=models.CharField(blank=True, choices=[('cmsplugin_zinnia/entry_list.html', 'Entry list (default)'), ('cmsplugin_zinnia/entry_detail.html', 'Entry detailed'), ('cmsplugin_zinnia/entry_slider.html', 'Entry slider')], default='cmsplugin_zinnia/entry_list.html', help_text='template used to display the plugin', max_length=250, verbose_name='template'),
),
]
18 changes: 18 additions & 0 deletions cmsplugin_zinnia/migrations/0006_use_booleanfield_null_true.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.1.7 on 2021-02-25 02:26

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('cmsplugin_zinnia', '0005_update_template_field'),
]

operations = [
migrations.AlterField(
model_name='latestentriesplugin',
name='featured',
field=models.BooleanField(blank=True, choices=[(True, 'Show featured entries only'), (False, 'Hide featured entries')], null=True, verbose_name='featured'),
),
]
2 changes: 1 addition & 1 deletion cmsplugin_zinnia/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LatestEntriesPlugin(CMSPlugin):
CMS Plugin for displaying latest entries
"""

featured = models.NullBooleanField(
featured = models.BooleanField(
_('featured'),
blank=True, null=True,
choices=((True, _('Show featured entries only')),
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

description='Django-CMS plugins for django-blog-xinnia',
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',

keywords='django, blog, weblog, zinnia, cms, plugins, apphook',

Expand All @@ -31,5 +32,9 @@

license=cmsplugin_zinnia.__license__,
include_package_data=True,
zip_safe=False
zip_safe=False,
install_requires=[
'Django>=2.2',
'django-cms>=3.7',
]
)

0 comments on commit 79768e5

Please sign in to comment.