{ "info": { "author": "Alexander Ivanov", "author_email": "alexander.ivanov@redsolution.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Natural Language :: Russian", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary" ], "description": "================\r\ndjango-easy-news\r\n================\r\n\r\nApplication provides news functionality for your site.\r\n\r\nInstallation:\r\n=============\r\n\r\nIn settings.py:\r\n---------------\r\n\r\n1. Add ``easy_news`` to your ``INSTALLED_APPS``.\r\n\r\n2. Include ``('easy_news.urls')`` in your ``urls.py`` like this::\r\n\r\n urlpatterns += patterns('',\r\n (r'^news/', include('easy_news.urls')),\r\n )\r\n\r\nUsage\r\n======\r\n\r\nViews\r\n------\r\nEasy news uses `django generic views system`_ to render pages. \r\nEasy news has several url handlers (I mean named patterns):\r\n\r\n- ``news_detail`` - Show news itself\r\n- ``news_list`` - if ``settings.ENABLE_NEWS_LIST`` is True, shows list of publicated news\r\n- ``news_archive_index`` if ``news_settings.ENABLE_NEWS_ARCHIVE_INDEX`` is True, shows content of `django.views.generic.date_based.archive_index`_ view\r\n- ``news_archive_year``, ``news_archive_month``, ``news_archive_day`` - if ``settings.ENABLE_NEWS_DATE_ARCHIVE`` is True, shows news archive by given date\r\n- ``news_tag_detail`` - if you use ``django-tagging`` and ``settings.NEWS_TAGGING`` is True, easy_news provide list of tagged news \r\n\r\nTemplate tags:\r\n--------------\r\n\r\nIf you want to use easy_news template tags, load ``easy_news_tags``::\r\n\r\n {% load easy_news_tags %}\r\n\r\nshow_news\r\n``````````\r\n\r\nShows list of ``num`` latest news. 5 news in list by default:: \r\n\r\n {% show_news %}\r\n\r\ncalendar\r\n````````\r\n\r\nRender calendar. If there's some news at date, shows hyperlink to news. By default, use current date::\r\n\r\n {% calendar %}\r\n \r\nCustomize:\r\n----------\r\n\r\nFull settings list:\r\n\r\n- ``ENABLE_NEWS_LIST`` (boolean) - render latest news list. Default - True\r\n- ``ENABLE_NEWS_ARCHIVE_INDEX`` (boolean) - render django generic date **archive index** of news objects. Default - True\r\n- ``ENABLE_NEWS_DATE_ARCHIVE`` (boolean) - render django generic date **full archive** of news objects. Default - True\r\n- ``NEWS_TAGGING`` (boolean) - use news tagging. Default - if `django-tagging`_ is installed, True, otherwise False\r\n\r\nClassifiers:\r\n-------------\r\n\r\n`Frontpage handlers`_\r\n\r\n.. _`django generic views system`: http://docs.djangoproject.com/en/1.2/ref/generic-views/\r\n.. _`django.views.generic.date_based.archive_index`: http://docs.djangoproject.com/en/1.2/ref/generic-views/#django-views-generic-date-based-archive-index\r\n.. _`django-tagging`: http://pypi.python.org/pypi/django-tagging/\r\n.. _`Frontpage handlers`: http://www.redsolutioncms.org/classifiers/frontpage", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://packages.python.org/django-easy-news", "keywords": "django news", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "django-easy-news", "package_url": "https://pypi.org/project/django-easy-news/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-easy-news/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://packages.python.org/django-easy-news" }, "release_url": "https://pypi.org/project/django-easy-news/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "News application. Allow to publish news on site. You can show news archive, calendar block, or latest news block in template. Admin editor compatible with django-tinyMCE.", "version": "0.2.2" }, "last_serial": 789529, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "3f39ba057a69ef69fe348be8c30a5c78", "sha256": "f430ff31953c10a11523ab2e02cd81c8612d484eff8fce03d917dcdc391d8baf" }, "downloads": -1, "filename": "django-easy-news-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3f39ba057a69ef69fe348be8c30a5c78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 73334, "upload_time": "2011-06-11T05:14:45", "url": "https://files.pythonhosted.org/packages/94/cf/3a5ccf72cd274260f1abaf09306ab9da668fd0a7a9aba4dac34bf548a093/django-easy-news-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f39ba057a69ef69fe348be8c30a5c78", "sha256": "f430ff31953c10a11523ab2e02cd81c8612d484eff8fce03d917dcdc391d8baf" }, "downloads": -1, "filename": "django-easy-news-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3f39ba057a69ef69fe348be8c30a5c78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 73334, "upload_time": "2011-06-11T05:14:45", "url": "https://files.pythonhosted.org/packages/94/cf/3a5ccf72cd274260f1abaf09306ab9da668fd0a7a9aba4dac34bf548a093/django-easy-news-0.2.2.tar.gz" } ] }