Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Multiple blog/article app for Django/FeinCMS.

Project Description

A simple app for having multiple FeinCMS powered blogs on a django site.

Installation

Install from pypi using your favorite method::

pip install feincms-blogs

Usage

Add blogs to your INSTALLED_APPS.

Somewhere in your project (ideally a models.py file)::

from blogs.models import Post

Post.register_extensions(
    # These are an example - you can use whichever extensions you like
    'feincms.module.extensions.ct_tracker',
    'feincms.module.extensions.changedate',
    'feincms.module.extensions.datepublisher',
    'feincms.module.extensions.seo',
)

Post.register_templates(
    {'title': 'Post',
     'path': 'blogs/post.html',
     'regions': (
         ('main', 'Main content area'),
     )},
)

Post.create_content_type(RichTextContent)

And then in in your urls.py::

urlpatterns = urlpatterns + patterns(
    url(r'^blogs/', include('blogs.urls', namespace="blogs")),
)

This should look familiar if you’ve used FeinCMS.

There are some content types provided for use with (for example) your FeinCMS Pages::

from blogs.content import (
    RecentPostsListContent,
    BlogArchiveContent,
)

from feincms.module.page.models import Page

Page.create_content_type(RecentPostsListContent)
Page.create_content_type(BlogArchiveContent)
Release History

Release History

This version
History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
FeinCMS-Blogs-0.0.7.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source Aug 19, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting