<commit_before>.. simple-translation documentation master file, created by
   sphinx-quickstart on Tue Aug 31 16:36:25 2010.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

=====================
cmsplugin-blog
=====================

.. module:: cmsplugin-blog
   :synopsis: cmsplugin-blog

Features
========
* multilanguage posts
* editing of content using django cms plugins
* plugin for django cms for showing latest entries
* feeds for languages / tags

Overview
========

There are six steps for using cmsplugin-blog:

    1. Install ``cmsplugin-blog`` and dependencies.
    
        Install django-cms as per install docs on http://django-cms.rtfd.org/.
        
        Install ``cmsplugin-blog`` from pypi: ::
        
            pip install cmsplugin-blog # also installs dependencies
        
    2. Add ``cmsplugin_blog``, ``djangocms_utils`` and ``simple_translation`` to ``settings.INSTALLED_APPS``
    
        Optionally set the placeholders in settings.py. ::
            
            CMSPLUGIN_BLOG_PLACEHOLDERS = ('first', 'second', 'third')
        
    3. Sync the database. ::
        
            python manage.py syncdb
            
            # or if south is installed
            python manage.py syncdb --all
            python manage.py migrate --fake    
        
    4. Add ``cmsplugin_blog.middleware.MultilingualBlogEntriesMiddleware`` to ``settings.MIDDLEWARE_CLASSES``
    
    5. Put a template adapted to your site in ``templates/cmsplugin_blog/cmsplugin_blog_base.html``.
    
        Blocks in default templates are 'left-col' and 'right-col'.
        
    6. Create a page in the cms and in 'Application' in the 'Advanced settings' section
        of the admin select 'Blog Apphook'
        
        Do this for each language you want to show posts in.
        (Restart of the server required due to caching!)
    
    
Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
<commit_msg>Added missing dependency and explained that multilangual middleware is optional.<commit_after>.. simple-translation documentation master file, created by
   sphinx-quickstart on Tue Aug 31 16:36:25 2010.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

=====================
cmsplugin-blog
=====================

.. module:: cmsplugin-blog
   :synopsis: cmsplugin-blog

Features
========
* multilanguage posts
* editing of content using django cms plugins
* plugin for django cms for showing latest entries
* feeds for languages / tags

Overview
========

There are six steps for using cmsplugin-blog:

    1. Install ``cmsplugin-blog`` and dependencies.
    
        Install django-cms as per install docs on http://django-cms.rtfd.org/.
        
        Install ``cmsplugin-blog`` from pypi: ::
        
            pip install cmsplugin-blog # also installs dependencies
        
    2. Add ``cmsplugin_blog``, ``djangocms_utils``, ``tagging`` and ``simple_translation`` to ``settings.INSTALLED_APPS``
    
        Optionally set the placeholders in settings.py. ::
            
            CMSPLUGIN_BLOG_PLACEHOLDERS = ('first', 'second', 'third')
        
    3. Sync the database. ::
        
            python manage.py syncdb
            
            # or if south is installed
            python manage.py syncdb --all
            python manage.py migrate --fake    
        
    4. If you are interested in multilangual blog, add ``cmsplugin_blog.middleware.MultilingualBlogEntriesMiddleware`` to ``settings.MIDDLEWARE_CLASSES``
    
    5. Put a template adapted to your site in ``templates/cmsplugin_blog/cmsplugin_blog_base.html``.
    
        Blocks in default templates are 'left-col' and 'right-col'.
        
    6. Create a page in the cms and in 'Application' in the 'Advanced settings' section
        of the admin select 'Blog Apphook'
        
        Do this for each language you want to show posts in.
        (Restart of the server required due to caching!)
    
    
Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

{'fraction_non_alphanumeric': 0.11283396946564886, 'fraction_numerical': 0.008587786259541985, 'mean_word_length': 2.5929734361610968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '54996', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1125, 'n_words': 413}