{ "info": { "author": "sax", "author_email": "sax@os4d.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7" ], "description": "Django What's New\n==================\n\n\nSimple application to manage \"what's new\" welcome screen based on package version.\n\n.. note:: Package must contains valid PEP386 entry in the __init__ of the main module.\n\n\nHow to use\n----------\n\n- put ``whatsnew`` in your INSTALLED_APPS::\n\n INTALLED_APPS=(\n ...\n 'whatsnew'\n )\n\n\n- modify your base template as\n\n.. code-block:: html\n \n \n\n {% load whatsnew %}\n\n \n {% whatsnew '' %}\n\n- create your :file:`whatsnew/whatsnew.html` like:\n\n.. code-block:: html\n \n \n
\n X\n {{ news.content|safe }}\n do not show again\n
\n\n- and your :file:`whatsnew/test.html` like:\n\n.. code-block:: html\n\n {% extends \"base.html\" %}{% load whatsnew %}\n\n {% block body %}\n {% whatsnew 'whatsnew' 1 %}\n \n {% endblock body %}\n {% block jira %}{% endblock jira %}\n\n\nHow version are checked\n------------------------\n\n- try to get version number using setuptools\n- check the main package name for 'version', 'VERSION' or '__version__'\n- try to call package.get_version()\n- raise DistributionNotFound\n", "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/saxix/django-whatsnew", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "whatsnew", "package_url": "https://pypi.org/project/whatsnew/", "platform": "linux", "project_url": "https://pypi.org/project/whatsnew/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/saxix/django-whatsnew" }, "release_url": "https://pypi.org/project/whatsnew/0.3/", "requires_dist": null, "requires_python": null, "summary": "Simple application to manage `what's new` screen.", "version": "0.3" }, "last_serial": 1051707, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "78de7908c47815fed0a30f991f147de4", "sha256": "99afd0e9d2af825b857ebe768ad956acd3a4879ea40f748f8123da92bdda8ff2" }, "downloads": -1, "filename": "whatsnew-0.1.tar.gz", "has_sig": false, "md5_digest": "78de7908c47815fed0a30f991f147de4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18107, "upload_time": "2014-04-03T20:04:56", "url": "https://files.pythonhosted.org/packages/5f/c7/b0d7e8bdee882a5549cc3f1a0765f3b55b4f1788a63ee8c1c3e1e7a9d292/whatsnew-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e52d39c244ca8ec5c84f8714a3fae5b1", "sha256": "adf82c24b3a9fd892826f93a407c329b9f6f740abffa0ff28990bdf60bbf71c5" }, "downloads": -1, "filename": "whatsnew-0.2.tar.gz", "has_sig": false, "md5_digest": "e52d39c244ca8ec5c84f8714a3fae5b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16362, "upload_time": "2014-04-04T14:10:15", "url": "https://files.pythonhosted.org/packages/97/41/5491c9fcbecdbcaa4dfbf6cc676c0d215afa41c5f929db61cdffd6f65fd0/whatsnew-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "28216d50f4fba80f76842a1702752642", "sha256": "aea54f37d3235e1bf7625585f239ad7a1bd87ba4b7ee6aa830735c37a23446c6" }, "downloads": -1, "filename": "whatsnew-0.3.tar.gz", "has_sig": false, "md5_digest": "28216d50f4fba80f76842a1702752642", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16345, "upload_time": "2014-04-04T21:09:51", "url": "https://files.pythonhosted.org/packages/d0/6d/71dda410c8553e4080ea10500c816d45fe9d7709aa8257bf7a3b91d6602c/whatsnew-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "28216d50f4fba80f76842a1702752642", "sha256": "aea54f37d3235e1bf7625585f239ad7a1bd87ba4b7ee6aa830735c37a23446c6" }, "downloads": -1, "filename": "whatsnew-0.3.tar.gz", "has_sig": false, "md5_digest": "28216d50f4fba80f76842a1702752642", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16345, "upload_time": "2014-04-04T21:09:51", "url": "https://files.pythonhosted.org/packages/d0/6d/71dda410c8553e4080ea10500c816d45fe9d7709aa8257bf7a3b91d6602c/whatsnew-0.3.tar.gz" } ] }