Skip to main content

Adds blogging and newsing capabilities to django CMS

Project description

https://badge.fury.io/py/aldryn_newsblog.svg https://magnum.travis-ci.com/aldryn/aldryn-newsblog.svg?token=YAkYhx2EXB7DyqW6ssQZ&branch=master https://img.shields.io/coveralls/aldryn/aldryn-newsblog.svg

Aldryn Newsblog

Description

A combined news/weblog application for Aldryn and django CMS.

Aldryn NewsBlog is intended to serve as a model of good practice for development of django CMS and Aldryn applications.

Installation & Usage

Aldryn Platform Users

  1. Choose a site you want to install the add-on to from the dashboard.

  2. Go to Apps > Install App

  3. Click Install next to the NewsBlog app.

  4. Redeploy the site.

Manual Installation

  1. Run pip install aldryn-newsblog.

  2. Add below apps to INSTALLED_APPS:

    INSTALLED_APPS = [
        …
        'aldryn_categories',
        'aldryn_people',
        'djangocms_text_ckeditor',
        'easy_thumbnails',
        'filer',
        'parler',
        'reversion',
        'taggit',
        …
    ]

    Please see notes regarding Django CMS Requirements and Django Appdata below, however.

  3. Run migrations: python manage.py migrate aldryn_newsblog.

    NOTE: aldryn_newsblog supports both South and Django 1.7 migrations. If using Django 1.7, you may need to add the following to your settings:

    MIGRATION_MODULES = [
       …
       'aldryn_newsblog': 'aldryn_newsblog.south_migrations',
       # The following are for some of the depenencies.
       'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django',
       'filer': 'filer.migrations_django',
       …
    ]
  4. (Re-)Start your application server.

Notes

Django 1.7

At time of this writing, due to circumstances beyond our control, we are unable to support both django-taggit and django-sortedm2m in the same Django 1.7 environment. As both of these projects are dependences, this application is not yet compatible with Django 1.7. We expect this to be resolved soon.

Django CMS Requirements

At time of this writing, released versions of django CMS do not have the required support for aldryn_apphook_config. This should be available in a near- future release (v3.1.0 or earlier).

In the meantime, this special branch based on 3.0.9 does have the required support.

Django Appdata

At the time of this writing, the very latest version of django-appdata, a requirement of aldryn-app-config is not yet available in PyPI but is required under Django 1.7. Consider installing the most recent version with:

pip install https://github.com/ella/django-appdata/archive/master.zip

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aldryn-newsblog-0.1.0.tar.gz (25.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page