Skip to main content

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 files for FeinCMS-Blogs 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FeinCMS-Blogs 0.0.7
File Size Uploaded
FeinCMS-Blogs-0.0.7.tar.gz 8.6 kB Details

Release files / FeinCMS-Blogs-0.0.7.tar.gz

Download URL FeinCMS-Blogs-0.0.7.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
61432e044f428a9513a5d34da863bc70e0eb0d6ce135549ddbaa26cbd9afc104
BLAKE2b-256 checksum
How to use checksums
b3a9899b9a7932892d94f94249f86813bda5d7963b391f42a393e6e7bd70e8c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page