skip to navigation
skip to content

simple-article 0.2.1

Provide deadly simple Article model for Django

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.


You can install simple-article from PyPI:

pip install simple-article

Or from GitHub:

pip install


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


Include article URLs inside application file:

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

Then, update the database.

With Django 1.9 or newer:

python migrate article

With Django 1.8.x or older:

python syncdb

or using South:

python migrate article


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 as other_articles %}
File Type Py Version Uploaded on Size
simple-article-0.2.1.tar.gz (md5) Source 2016-01-21 5KB