djcms-blog-plugin

DjangoCMS Blog plugin


Keywords
djcms_blog_plugin
License
MIT
Install
pip install djcms-blog-plugin==0.1.3

Documentation

DjangoCMS Blog plugin

image

image

image

image

DjangoCMS Blog plugin is a plugin enabled for DjangoCMS to add a feed of your posts created in djcms_blog in any page.

Features

  • Support DjangoCMS
  • Can define a Blog to display
  • Can define how many entries to display

Installation

Install using pip

pip install djcms_blog_plugin

Add to installed apps:

INSTALLED_APPS = (`
    # Your django apps
    'cms', # required django cms
    
    'djcms_blog', # required djcms_blog
    'djcms_blog_plugin',

Settings

DJCMS_BLOG_ID = 1 # Defines the Main blog id
DJCMS_BLOG_ENTRIES_NUMBER # Define the number of entries to display in the widget

Contributing

Install dev dependencies

pip install -r requirements_dev.txt

Run tests

pytest . --cov=. --cov-report=term-missing

# virtualenv
python -m pytest . --cov=. --cov-report=term-missing