djangocms_blog/README.rst

136 lines
5.1 KiB
ReStructuredText
Raw Normal View History

2014-02-25 13:46:50 +00:00
==============
2014-01-05 09:34:10 +00:00
djangocms-blog
2014-02-25 13:46:50 +00:00
==============
2014-01-05 09:34:10 +00:00
2018-01-03 16:59:47 +00:00
|Gitter| |PyPiVersion| |PyVersion| |Status| |TestCoverage| |CodeClimate| |License|
2015-09-01 08:35:54 +00:00
2016-02-02 10:36:08 +00:00
django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks.
2014-02-25 13:46:50 +00:00
Supported Django versions:
2015-07-21 06:27:49 +00:00
* Django 1.8
2016-05-03 06:37:18 +00:00
* Django 1.9
2016-12-03 22:20:00 +00:00
* Django 1.10
Supported django CMS versions:
2016-06-05 16:35:06 +00:00
* django CMS 3.2+
.. warning:: Strict dependency on aldryn-search, haystack has been dropped. Install
them separately to enable full text search support. See `installation docs`_
for details.
.. warning:: Version 0.8 will be the last one supporting Python 2.6, Python 3.3,
2016-05-29 16:53:20 +00:00
Django<1.8 and django CMS<3.2.
.. warning:: Starting from version 0.8, date_published is not set anymore
when creating a post but rather when publishing.
This does not change the overall behavior, but be warned if you
expect it to be not null in custom code.
2015-08-14 17:22:00 +00:00
2016-06-26 10:25:12 +00:00
*****************************************
2016-06-25 15:32:45 +00:00
Upgrading cmsplugin-filer from 1.0 to 1.1
2016-06-26 10:25:12 +00:00
*****************************************
2016-06-25 15:32:45 +00:00
Due to changes in cmsplugin-filer/filer which moved ``ThumbnailOption`` model from the
former to the latter, ``djangocms-blog`` must be migrated as well.
Migrating cmsplugin-filer to 1.1 and djangocms-blog up to 0.8.4
2016-06-26 10:25:12 +00:00
===============================================================
2016-06-25 15:32:45 +00:00
If you have djangocms-blog up to 0.8.4 (included) installed or you are upgrading from a previous
djangocms-blog version together with cmsplugin-filer upgrade, you can just apply the migrations::
2017-03-06 20:58:52 +00:00
pip install cmsplugin-filer==1.1.3 django-filer==1.2.7 djangocms-blog==0.8.4
2016-06-25 15:32:45 +00:00
python manage.py migrate
Migrating cmsplugin-filer to 1.1 and djangocms-blog 0.8.5+
2016-06-26 10:25:12 +00:00
==========================================================
2016-06-25 15:32:45 +00:00
2018-01-03 16:59:47 +00:00
If you already a djangocms-blog 0.8.5+ up to 0.8.11, upgrade to 0.8.11, then
2017-03-06 20:58:52 +00:00
you have to de-apply some blog migrations when doing the upgrade::
2016-06-25 15:32:45 +00:00
2017-03-06 20:58:52 +00:00
pip install djangocms-blog==0.8.11
2016-06-25 15:32:45 +00:00
python manage.py migrate djangocms_blog 0017 ## reverse for these migration is a noop
2017-03-06 20:58:52 +00:00
pip install cmsplugin-filer==1.1.3 django-filer==1.2.7
2016-06-25 15:32:45 +00:00
python manage.py migrate
2017-03-06 20:58:52 +00:00
After this step you can upgrade to 0.8.12::
pip install djangocms-blog==0.8.12
2016-06-25 15:32:45 +00:00
.. note:: de-apply migration **before** upgrading cmsplugin-filer. If running before upgrade, the
backward migration won't alter anything on the database, and it will just allow the code
to migrate ``ThumbnailOption`` from cmsplugin-filer to filer
2017-03-06 20:58:52 +00:00
.. note:: If you upgrade in a Django 1.10 environment, be sure to upgrade both packages
at the same time to allow correct migration dependencies to be evaluated.
Installing djangocms-blog in an existing project with Django 1.10
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2018-01-03 16:59:47 +00:00
If your project has cmsplugin-filer 1.1+ already installed and it uses Django 1.10,
2017-03-06 20:58:52 +00:00
install djangocms-blog 0.8.12 (and above)::
pip install djangocms-blog==0.8.12
2016-06-25 15:32:45 +00:00
2016-06-26 10:25:12 +00:00
********
2015-10-18 08:49:45 +00:00
Features
2016-06-26 10:25:12 +00:00
********
2015-10-18 08:49:45 +00:00
* Placeholder content editing
2016-03-01 08:48:06 +00:00
* Frontend editing using django CMS 3.x frontend editor
2015-10-18 08:49:45 +00:00
* Multilingual support using django-parler
2016-06-26 10:25:12 +00:00
* Twitter cards, Open Graph and Google+ snippets meta tags
* Optional simpler TextField-based content editing
* Multisite (posts can be visible in one or more Django sites on the same project)
2015-10-18 08:49:45 +00:00
* Per-Apphook configuration
2015-10-31 01:06:57 +00:00
* Configurable permalinks
2016-06-26 10:25:12 +00:00
* Configurable django CMS menu
2015-10-18 08:49:45 +00:00
* Per-Apphook templates set
* Auto Apphook setup
2016-06-26 10:25:12 +00:00
* Django sitemap framework
* django CMS 3.2+ Wizard
* Haystack index
* Desktop notifications
* Liveblog
2014-12-05 14:52:37 +00:00
2016-06-26 10:25:12 +00:00
*****************************
2015-03-02 06:08:59 +00:00
Known djangocms-blog websites
2016-06-26 10:25:12 +00:00
*****************************
2015-03-02 06:08:59 +00:00
2016-03-04 07:26:20 +00:00
See DjangoPackages for an updated list https://www.djangopackages.com/packages/p/djangocms-blog/
.. _installation docs: http://djangocms-blog.readthedocs.io/en/latest/installation.html
2018-01-03 16:59:47 +00:00
.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg?style=flat-square
:target: https://gitter.im/nephila/applications
:alt: Join the Gitter chat
.. |PyPiVersion| image:: https://img.shields.io/pypi/v/djangocms-blog.svg?style=flat-square
:target: https://pypi.python.org/pypi/djangocms-blog
:alt: Latest PyPI version
.. |PyVersion| image:: https://img.shields.io/pypi/pyversions/djangocms-blog.svg?style=flat-square
:target: https://pypi.python.org/pypi/djangocms-blog
:alt: Python versions
.. |Status| image:: https://img.shields.io/travis/nephila/djangocms-blog.svg?style=flat-square
:target: https://travis-ci.org/nephila/djangocms-blog
:alt: Latest Travis CI build status
.. |TestCoverage| image:: https://img.shields.io/coveralls/nephila/djangocms-blog/master.svg?style=flat-square
:target: https://coveralls.io/r/nephila/djangocms-blog?branch=master
:alt: Test coverage
.. |License| image:: https://img.shields.io/github/license/nephila/djangocms-blog.svg?style=flat-square
:target: https://pypi.python.org/pypi/djangocms-blog/
:alt: License
.. |CodeClimate| image:: https://codeclimate.com/github/nephila/djangocms-blog/badges/gpa.svg?style=flat-square
:target: https://codeclimate.com/github/nephila/djangocms-blog
:alt: Code Climate