{ "info": { "author": "Anton Egorov", "author_email": "anton.egoroff@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards", "Topic :: Internet :: WWW/HTTP :: Site Management" ], "description": "==================\ncmsplugin-articles\n==================\n\n|ci| |pypi| |status|\n\n.. |ci| image:: https://travis-ci.org/satyrius/cmsplugin-articles.svg?branch=master\n :target: https://travis-ci.org/satyrius/cmsplugin-articles\n\n.. |pypi| image:: https://pypip.in/version/cmsplugin-articles/badge.png?text=pypi\n :target: https://pypi.python.org/pypi/cmsplugin-articles/\n :alt: Latest Version\n\n.. |status| image:: https://pypip.in/status/cmsplugin-articles/badge.png\n :target: https://pypi.python.org/pypi/cmsplugin-articles/\n :alt: Development Status\n\nIt is a simple plugin that allows you to organize you article pages in a manner of a blog.\nIt does not break original page publishing workflow, but has some tricks to gather articles into a blog app.\n\nRequirements\n============\n\nIt works fine and tested under ``Python 2.7``. The following libraries are required\n\n- ``Django`` >= 1.5\n- ``django-cms`` >= 3.0 (we recommend to use Django CMS 3.0 and higher, contact us if you need prior CMS versions supports and have some issues)\n\nInstallation\n============\n\n::\n\n$ pip install cmsplugin-articles\n\nConfigure installed apps in your ``settings.py`` ::\n\n INSTALLED_APPS = [\n # django contrib and django cms apps\n 'cmsplugin_articles',\n ]\n\nMigrate your database ::\n\n django-admin.py migrate cmsplugin_articles\n\nUsage\n=====\n\n- Create a page in a common way, it will be a root page, an articles list;\n- Add ``ArticlesPlugin`` to the page to you content placeholder, this will show a list of published articles;\n- Create an article page as a child page, it will be shown automatocally in the list.\n\nCustomization\n=============\n\nYou can customize this plugin by overriding the following templates\n\n- ``cms/plugins/articles.html`` (plugin template layout)\n- ``cms/plugins/article_teaser.html`` (if you want to change teaser template, e.g. use `easy-thumbnails` for teaser images)\n- ``cms/plugins/articles_pagination.html`` (pagination templates, if you want to add extra css classes or so)\n\nTemplatetags\n------------\n\nThe plugin has a number of `temlatetags `_ used for teaser template, you should load them in your template \nwith \n\n::\n\n{% load article_tags %}\n\npublished_at, teaser_title and teaser_image\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nFilters which get article ``Page`` instance as an argument\n\n- ``published_at`` return ``datetime`` object for publication time\n- ``teaser_title`` return teaser title as a string\n- ``teaser_image`` return ``TeaserExtension.image`` if exists\n\nteaser_text\n~~~~~~~~~~~\n\nA ``simple_tag`` which returns a teaser text. It accepts two parameters\n\n- ``article_page`` the page that teaser belongs to\n- ``default_from`` the placeholder name. You can pass it if you want generate teasers automaticaly\n\nexact_columns\n~~~~~~~~~~~~~\n\nYou can use this template tag to split articles list into a column layout, e.g\n\n::\n\n
\n {% exact_columns articles 3 \"vertical\" as columns %}\n {% for column in columns %}\n
\n {% for article in column %}\n {% include \"cms/plugins/article_teaser.html\" %}\n {% endfor %}\n
\n {% endfor %}\n
\n\nRoadmap\n=======\n- Python 3 support\n\nChangelog\n=========\nThe changelog can be found at `repo's release notes `_\n\nContributing\n============\nFork the repo, create a feature branch then send me pull request. Feel free to create new issues or contact me via email.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/satyrius/cmsplugin-articles", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cmsplugin-articles", "package_url": "https://pypi.org/project/cmsplugin-articles/", "platform": "OS Independent", "project_url": "https://pypi.org/project/cmsplugin-articles/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/satyrius/cmsplugin-articles" }, "release_url": "https://pypi.org/project/cmsplugin-articles/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Django CMS articles management plugin", "version": "0.2.2" }, "last_serial": 1353676, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a41f98551e5354a7068698c2b47ebf4f", "sha256": "a62c8d2426532d1094de256ccf6b8c0cce43d406346e5de58bfaf24889309c82" }, "downloads": -1, "filename": "cmsplugin-articles-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a41f98551e5354a7068698c2b47ebf4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7373, "upload_time": "2014-12-01T14:44:50", "url": "https://files.pythonhosted.org/packages/3d/d4/fc277ed9767eb0c1fcc4f7beb3782517a70b92ea9fa1264e104b0b7c1114/cmsplugin-articles-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "41e26128ade0e8dbf67f53fd45d1b109", "sha256": "5c69b273bacbf6ad16a67ad016b664c2def9428cc1925012e38b44bfaa152ea0" }, "downloads": -1, "filename": "cmsplugin-articles-0.2.0.tar.gz", "has_sig": false, "md5_digest": "41e26128ade0e8dbf67f53fd45d1b109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7884, "upload_time": "2014-12-10T18:36:33", "url": "https://files.pythonhosted.org/packages/54/e5/0192a5c49361560a880013fb0d6f78f14c153c925c7e5df0509bb66398be/cmsplugin-articles-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "88db6bbaaa472d029bea25ecece08a06", "sha256": "ecef4b7862590f0bff9893d4dede9f6a1ff79d56bd14d4a69b74f809c3c7f11d" }, "downloads": -1, "filename": "cmsplugin-articles-0.2.1.tar.gz", "has_sig": false, "md5_digest": "88db6bbaaa472d029bea25ecece08a06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10227, "upload_time": "2014-12-18T16:45:31", "url": "https://files.pythonhosted.org/packages/2c/a2/afb9b2a0addcecf1f1a1b055845b0bf9497022be57432ae256e6f8c89ab6/cmsplugin-articles-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "3bd417f0495a05a9c005922abaa1c235", "sha256": "e3d347e36490c6499af80a50e9924b591c08627c392de14ad30302cbf1daf29f" }, "downloads": -1, "filename": "cmsplugin-articles-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3bd417f0495a05a9c005922abaa1c235", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10379, "upload_time": "2014-12-19T00:40:59", "url": "https://files.pythonhosted.org/packages/44/80/586034a4f75c91046bd9a724998321f05b0014c53847f89e36eb35ddedee/cmsplugin-articles-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3bd417f0495a05a9c005922abaa1c235", "sha256": "e3d347e36490c6499af80a50e9924b591c08627c392de14ad30302cbf1daf29f" }, "downloads": -1, "filename": "cmsplugin-articles-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3bd417f0495a05a9c005922abaa1c235", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10379, "upload_time": "2014-12-19T00:40:59", "url": "https://files.pythonhosted.org/packages/44/80/586034a4f75c91046bd9a724998321f05b0014c53847f89e36eb35ddedee/cmsplugin-articles-0.2.2.tar.gz" } ] }