{ "info": { "author": "Jakub Zalewski", "author_email": "zalew7@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2" ], "description": "Django-Readonly \n================\n\n.. image:: https://pypip.in/v/django-readonly/badge.png\n :target: https://crate.io/packages/django-readonly/\n :alt: Latest PyPI version\n\n.. image:: https://pypip.in/d/django-readonly/badge.png\n :target: https://crate.io/packages/django-readonly/\n :alt: Number of PyPI downloads\n\nPut your website into read-only mode for maintanance. It blocks any POST requests and signs users out. \nIt doesn't lock any database transactions (check out https://github.com/streeter/django-db-readonly for that).\n\n\n* http://pypi.python.org/pypi/django-readonly/\n* https://bitbucket.org/zalew/django-readonly/\n* https://github.com/zalew/django-readonly/ (mirror)\n \nUsage\n------\n \n* ``pip install django-readonly``\n* settings.py: add ``'readonly.middleware.ReadOnlyMiddleware',`` to ``MIDDLEWARE_CLASSES``\n* settings.py: READ_ONLY = True\n* template: ``{% if request.read_only %}
Website is currently in read-only mode.
{% endif %}``", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/zalew/django-readonly", "keywords": "django readonly", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-readonly", "package_url": "https://pypi.org/project/django-readonly/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-readonly/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/zalew/django-readonly" }, "release_url": "https://pypi.org/project/django-readonly/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Put website in read-only mode for maintenance.", "version": "0.1.2" }, "last_serial": 820906, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9b981388f24afef949df597ee3a1c0b6", "sha256": "6d01687148359b8b635400ebf211ec5103dedb63dfbc7ca44201e51e47b75fbf" }, "downloads": -1, "filename": "django-readonly-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9b981388f24afef949df597ee3a1c0b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1802, "upload_time": "2012-11-13T17:58:25", "url": "https://files.pythonhosted.org/packages/7c/a6/717be6c989baa176ec7867720cddd334895ccd4197012d8e8cf776059612/django-readonly-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1e753016192bab101501e82ad0a83db4", "sha256": "84a2fd5a3f270ca7f201f901f9b12ea285e12363db7a67eb091976a9a486ca93" }, "downloads": -1, "filename": "django-readonly-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1e753016192bab101501e82ad0a83db4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1917, "upload_time": "2012-11-13T18:56:07", "url": "https://files.pythonhosted.org/packages/e4/f7/680b9b4c58b28b97b64c0be3e9c0d1d66ad10a88cd447b9a2ce948ae4520/django-readonly-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c027518cbe14ee71698f5ebe9cb71667", "sha256": "d10f469b3ce96249679664c5d593a9f77e749509ff644d31ee93c4ec604cb8b8" }, "downloads": -1, "filename": "django-readonly-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c027518cbe14ee71698f5ebe9cb71667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2074, "upload_time": "2013-07-20T21:29:07", "url": "https://files.pythonhosted.org/packages/6b/53/c8d32f385b10d7f76e5c6b5000388b4d6ba786e11603909f8eccb54dc128/django-readonly-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c027518cbe14ee71698f5ebe9cb71667", "sha256": "d10f469b3ce96249679664c5d593a9f77e749509ff644d31ee93c4ec604cb8b8" }, "downloads": -1, "filename": "django-readonly-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c027518cbe14ee71698f5ebe9cb71667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2074, "upload_time": "2013-07-20T21:29:07", "url": "https://files.pythonhosted.org/packages/6b/53/c8d32f385b10d7f76e5c6b5000388b4d6ba786e11603909f8eccb54dc128/django-readonly-0.1.2.tar.gz" } ] }