Metadata-Version: 1.1
Name: simple-article
Version: 0.2.1
Summary: Provide deadly simple Article model for Django
Home-page: https://github.com/zniper/simple-article
Author: Ha Pham
Author-email: me.zniper@gmail.com
License: MIT
Description: .. image:: https://travis-ci.org/zniper/simple-article.svg?branch=master
                  :target: https://travis-ci.org/zniper/simple-article
        
        .. image:: https://coveralls.io/repos/zniper/simple-article/badge.svg?branch=master 
                  :target: https://coveralls.io/r/zniper/simple-article?branch=master
        
        **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 %}
        
Keywords: article model simple django entry blog
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
