Skip to main content

FeinCMS blogs

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)

Metadata

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 Provenance
FeinCMS-Blogs-0.0.7.tar.gz 8.6 kB Without provenance 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

Security for FeinCMS-Blogs 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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