The versatile stories and blog application for django CMS 4+
Project description
django CMS stories application - Tell your story in multilingual posts, using the full power of django CMS placeholders.
djangocms-stories provides a lean foundation for storytelling that can be composed with other specialized django CMS applications, such as djangocms-versioning or djangocms-moderation.
Features
Frontend editing using django CMS frontend editor
Placeholder or optionally simpler TextField-based content editing
Multilingual support using django-parler
Multisite (posts can be visible in one or more Django sites on the same project)
Hooks into your page tree anywhere
Configurable permalinks, user navigation, template sets, …
Multiple instaces per site (e.g., blog, news, stories)
Django sitemap framework
django CMS Wizard integration
Supports djangocms-versioning and djangocms-moderation
Installation
To install the latest version directly from GitHub, run:
pip install djangocms-stories
Add djangocms_stories to your INSTALLED_APPS in your Django project’s settings.py:
INSTALLED_APPS = [
# ...
'djangocms_stories',
'parler', # if not already included
'sortedm2m', # if not already included
# For now, but probably not needed in the future
'taggit',
'taggit_autosuggest',
'meta',
# ...
]
To use taggit’s autosuggest feature, add their URLS in urls.py:
url_patterns += [path('taggit_autosuggest/', include('taggit_autosuggest.urls'))]
Migrating from djangocms-blog
Migrate from djangocms-blog by following the steps below. There is test coverage for the migration process - nevertheless be sure to backup your database before proceeding.
Uninstall djangocsms-blog: pip uninstall djangocms-blog
Install djangocms-stories pip install djangocms-stories
Add "djangocms_stories" to your installed apps. Do not remove djangocms-blog.
Run ./manage.py migrate djangocms_stories. This in migration 0002 will move existing content from djangocms-blog to djangocms-stories and delete djangocms-blogs database tables.
Remove "djangocms_blog" from your installed apps.
Custom templates will need manual updating, since the underlying model structure has changed:
post contains the following fields: related, main_image, author, date, categories, tags
post_content contiains the following per-language fields: title, subtitle, slug, content, media, and post, the reference to the Post object.
Some improvements for developers are included:
You now can use the {% placeholder %} template tag in the post_detail.html template to render any placeholder. {% render_placeholder post_content.content %} and {% render_placeholder post_content.media %} are still available, but you can now use {% placeholder "new_content" %} to, say, add additional placeholders.
Contributing
Because this is a an open-source project, we welcome everyone to get involved in the project and receive a reward for their contribution. Become part of a fantastic community and help us make django CMS the best CMS in the world.
We’ll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.
The project makes use of git pre-commit hooks to maintain code quality. Please follow the installation steps to get pre-commit setup in your development environment.
We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.
One of the easiest contributions you can make is helping to translate this addon on Transifex.
Credits
djangocms-stories is inspired by Nephila’s excellent djangocms-blog, with the intent to bring to align it with django CMS’s new philosophy since version 4: “The design philosophy of django CMS is to solve something complex with many simple things.”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djangocms_stories-0.6.1.tar.gz.
File metadata
- Download URL: djangocms_stories-0.6.1.tar.gz
- Upload date:
- Size: 170.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7a3fecb6cf4866c3e42a45a159ea27ab2b9859342e5788a5bdf5df616d446d2
|
|
| MD5 |
e0f7f558884150dd9ca739c7d7eee96b
|
|
| BLAKE2b-256 |
cd95fef75f1ef630579d1287005193969e1d7b5b049931e9726dd4188df072ff
|
Provenance
The following attestation bundles were made for djangocms_stories-0.6.1.tar.gz:
Publisher:
publish-to-live-pypi.yml on django-cms/djangocms-stories
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_stories-0.6.1.tar.gz -
Subject digest:
f7a3fecb6cf4866c3e42a45a159ea27ab2b9859342e5788a5bdf5df616d446d2 - Sigstore transparency entry: 257514801
- Sigstore integration time:
-
Permalink:
django-cms/djangocms-stories@73406b181ff3bdeb42b6e68edf419d528333e4bf -
Branch / Tag:
refs/tags/0.6.1 - Owner: https://github.com/django-cms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-live-pypi.yml@73406b181ff3bdeb42b6e68edf419d528333e4bf -
Trigger Event:
release
-
Statement type:
File details
Details for the file djangocms_stories-0.6.1-py3-none-any.whl.
File metadata
- Download URL: djangocms_stories-0.6.1-py3-none-any.whl
- Upload date:
- Size: 205.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38fc67cd81e8b239196d798e2b318a31430c9dee478b11361ff34b98737fdb84
|
|
| MD5 |
f42368e7932974fd6a9bb379fc399d93
|
|
| BLAKE2b-256 |
d1779fb78a0d2e6255d04ecc9cb5e8c1304ae7578e89703d06a91050defb294d
|
Provenance
The following attestation bundles were made for djangocms_stories-0.6.1-py3-none-any.whl:
Publisher:
publish-to-live-pypi.yml on django-cms/djangocms-stories
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
djangocms_stories-0.6.1-py3-none-any.whl -
Subject digest:
38fc67cd81e8b239196d798e2b318a31430c9dee478b11361ff34b98737fdb84 - Sigstore transparency entry: 257514804
- Sigstore integration time:
-
Permalink:
django-cms/djangocms-stories@73406b181ff3bdeb42b6e68edf419d528333e4bf -
Branch / Tag:
refs/tags/0.6.1 - Owner: https://github.com/django-cms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-live-pypi.yml@73406b181ff3bdeb42b6e68edf419d528333e4bf -
Trigger Event:
release
-
Statement type: