emencia-cmsplugin-xinnia
Cmsplugin-zinnia is a bridge between django-blog-xinnia and django-cms.
This package provides plugins, menus and apphook to integrate your Zinnia powered Weblog into your django-cms Web site.
Installation
Once Zinnia and the CMS are installed, you simply have to register cmsplugin_zinnia, in the INSTALLED_APPS section of your project’s settings.
Entries with plugins
If you want to use the plugin system of django-cms in your entries, an extended Entry with a PlaceholderField is provided in this package.
Just add this line in your project’s settings to use it.
ZINNIA_ENTRY_BASE_MODEL = 'cmsplugin_zinnia.placeholder.EntryPlaceholder'
Tips for using the apphook
If you want to use the apphook to provide the blog functionnalities under a specific URL handled by the CMS, remember this tip:
Once the apphook is registered, you can remove the inclusion of 'zinnia.urls' in urls.py and then restart the server to see it in full effect.
Settings
CMSPLUGIN_ZINNIA_APP_URLS
Default value: ['zinnia.urls']
The URLsets used for by the Zinnia AppHook.
CMSPLUGIN_ZINNIA_TEMPLATES
Default value: [] (Empty list)
List of tuple for extending the plugins rendering templates.
Example:
CMSPLUGIN_ZINNIA_TEMPLATES = [
('entry_custom.html', 'Entry custom'),
('entry_custom_bis.html', 'Entry custom bis')
]
CMSPLUGIN_ZINNIA_BASE_TEMPLATES
Default value:
[('cmsplugin_zinnia/entry_list.html', _('Entry list (default)')),
('cmsplugin_zinnia/entry_detail.html', _('Entry detailed')),
('cmsplugin_zinnia/entry_slider.html', _('Entry slider'))]
Available base templates, these are the shipped template from this application. Commonly you will prefer to use CMSPLUGIN_ZINNIA_TEMPLATES to add new templates.
CMSPLUGIN_ZINNIA_DEFAULT_TEMPLATE
Default value: None
Initial value for template_to_render field. If empty or undefined, initial value will be the first item of available template choices.
Changelog
Previous release history can be find in original fork.
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;
Metadata
Release files for emencia-cmsplugin-xinnia 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emencia-cmsplugin-xinnia-0.9.1.tar.gz | 31.1 kB | Without provenance | Details for emencia-cmsplugin-xinnia-0.9.1.tar.gz |
Release files / emencia-cmsplugin-xinnia-0.9.1.tar.gz
| Download URL | emencia-cmsplugin-xinnia-0.9.1.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06cd4a4a15f3f8bf02d8468ebec2562ac50d2b73300571183ba9cf1ed80c4bf5
|
|
BLAKE2b-256 checksum How to use checksums |
e8bc42363f76a3eec9a485ad57c41746d2003bf8d19a509424c7df1df1caa761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.2
|
Security for emencia-cmsplugin-xinnia 0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.