This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

simple-article is a Django application which provides a simple Article model. That model could be a good start for simple blog or news, without the needs for installation much of other 3rd party packages.

Installation

You can install simple-article from PyPI:

pip install simple-article

Or from GitHub:

pip install https://github.com/zniper/simple-article/zipball/master

Configuration

Inside settings module, put \(article\) and related applications into \(INSTALLED_APPS\):

INSTALLED_APPS = (
    ...
    'tinymce',
    'taggit',
    'article',
)

Include article URLs inside application urls.py file:

urlpatterns = patterns(
   ...
    url(r'^blog/', include('article.urls')),
    ...
)

Then, update the database.

With Django 1.9 or newer:

python manage.py migrate article

With Django 1.8.x or older:

python manage.py syncdb

or using South:

python manage.py migrate article

Usage

Inside templates, there is an assignment tag named \(recent_articles\) which returns limited number of newest articles:

{% load article_tags %}

Short call, with maximum 10 newest articles returned:

{% recent_articles as other_articles %}

Customized call, with exclusion of given article:

{% recent_articles limit=5 exclude=article.pk as other_articles %}
Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
simple-article-0.2.1.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jan 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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