{ "info": { "author": "Andrew Pinkham", "author_email": "hello at andrewsforge dot com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "`Package Documentation`_\n\nDescription\n===========\n\nThis package provides decorators to make building websites in Django\neven easier.\n\nInstallation\n============\n\n.. code:: console\n\n $ pip install django-decorator-plus\n\nBasic Usage\n===========\n\nThe package currently supplies decorators to improve your views.\n\nView Decorators\n---------------\n\nThe view decorators provided are meant to restrict the HTTP methods\nallowed on a view. The ``require_safe_methods`` limits views to ``GET``\nand ``HEAD`` and generates a proper response for ``OPTIONS``.\n\n.. code-block:: python\n\n from decorator_plus import require_safe_methods\n\n @require_safe_methods\n def function_view_safe(request):\n ...\n\nThe package also supplies the ``require_form_methods`` decorator, which\nlimits views to ``GET``, ``HEAD``, and ``POST``. Both of these\ndecorators are actually just shortcuts on top of the\n``require_http_methods()`` decorator, which is an enhanced version of\nthe `decorator supplied by Django`_ by the same name; the\n``require_http_methods()`` decorator automatically supplies the\n``OPTIONS`` HTTP method, and will automatically add the ``HEAD`` HTTP\nmethod if the ``GET`` method is allowed.\n\nFor more information and examples, please see the full `Package\nDocumentation`_.\n\n.. _`decorator supplied by Django`: https://docs.djangoproject.com/en/stable/topics/http/decorators/#django.views.decorators.http.require_http_methods\n.. _`Package Documentation`: https://django-decorator-plus.readthedocs.org", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jambonrose/django-decorator-plus", "keywords": "django,decorator,http", "license": "Simplified BSD License", "maintainer": null, "maintainer_email": null, "name": "django-decorator-plus", "package_url": "https://pypi.org/project/django-decorator-plus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-decorator-plus/", "project_urls": { "Homepage": "https://github.com/jambonrose/django-decorator-plus" }, "release_url": "https://pypi.org/project/django-decorator-plus/0.0.1a2/", "requires_dist": null, "requires_python": null, "summary": "Extra decorators for your Django project.", "version": "0.0.1a2" }, "last_serial": 1707470, "releases": { "0.0.1.dev20150902190642": [ { "comment_text": "", "digests": { "md5": "8ac8bc9330d63e004c7a1e99cf872630", "sha256": "57e3c9f51c5adf9a93d48f36d5021bf89cb0b48e96437bffb25f392ca60ce45c" }, "downloads": -1, "filename": "django_decorator_plus-0.0.1.dev20150902190642-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8ac8bc9330d63e004c7a1e99cf872630", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4293, "upload_time": "2015-09-02T19:17:17", "url": "https://files.pythonhosted.org/packages/b4/bc/93c9a0f4f3e7129d4cd6e28493dfce4db1878ba91696711da1b77ce2fae4/django_decorator_plus-0.0.1.dev20150902190642-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "523bc43ce91b484fe6b4e05f73144e73", "sha256": "695c00c23ac188dc7ca2fbcb076f8d2d2a1b610efa11b68c71fb69d30358953c" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1.dev20150902190642.tar.gz", "has_sig": true, "md5_digest": "523bc43ce91b484fe6b4e05f73144e73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2549, "upload_time": "2015-09-02T19:17:10", "url": "https://files.pythonhosted.org/packages/be/84/a0f31c5caebc28d812d3daf2f1bedae293a16424771b9e4a88520ff3aaba/django-decorator-plus-0.0.1.dev20150902190642.tar.gz" }, { "comment_text": "", "digests": { "md5": "0cd0f8aad4c526e6b76fe72b19fc08de", "sha256": "2d3c1557ddbc7be5513ef2751089319fd52701b0d2c81f4572085b96da0e50b8" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1.dev20150902190642.zip", "has_sig": true, "md5_digest": "0cd0f8aad4c526e6b76fe72b19fc08de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5184, "upload_time": "2015-09-02T19:17:14", "url": "https://files.pythonhosted.org/packages/92/cc/31a94154ac9f7158862f12fb002cc3b0910ebb06a58b7e8e0909e62b763f/django-decorator-plus-0.0.1.dev20150902190642.zip" } ], "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "d0ac42a8656f3a24d164eb317c96be82", "sha256": "fbed9feebbfd62da06f9dbb9c144764a60cecd19c5410c42f021fbbdeca5c127" }, "downloads": -1, "filename": "django_decorator_plus-0.0.1a1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "d0ac42a8656f3a24d164eb317c96be82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6142, "upload_time": "2015-09-03T22:58:15", "url": "https://files.pythonhosted.org/packages/21/26/a5a7295193255bd75d47cb09c257853bff00934b17d879e01d035d343c0c/django_decorator_plus-0.0.1a1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c23ccc9fe92375e0395d0dbceb213017", "sha256": "c4296eabb9937cc40790f62d5afddb9bef088a6314491e390c59db43b11a6d18" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a1.tar.gz", "has_sig": true, "md5_digest": "c23ccc9fe92375e0395d0dbceb213017", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4678, "upload_time": "2015-09-03T22:58:04", "url": "https://files.pythonhosted.org/packages/a4/1a/6d344d0a6bdbc4df7e269f697f4bdb7b39cc2c6ad4f40cd0a51cb8d60ca6/django-decorator-plus-0.0.1a1.tar.gz" }, { "comment_text": "", "digests": { "md5": "bfeb26ccba7c411f48a9a9c926540610", "sha256": "30b55c85ac0fce8a35fdcb07dde3e20189b234e207bd4b14d76d4b4a328b0d51" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a1.zip", "has_sig": true, "md5_digest": "bfeb26ccba7c411f48a9a9c926540610", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9064, "upload_time": "2015-09-03T22:58:11", "url": "https://files.pythonhosted.org/packages/d0/61/712de1f30b9cd08967c55d702255ece1355d792e6a96d73104ffe11679f8/django-decorator-plus-0.0.1a1.zip" } ], "0.0.1a2": [ { "comment_text": "", "digests": { "md5": "d82136895b1c078c51090164609f374b", "sha256": "97e95ead324b288a139c0ae444d04e4a7a370f389b7e040f51ffe6cb5fc5c94e" }, "downloads": -1, "filename": "django_decorator_plus-0.0.1a2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "d82136895b1c078c51090164609f374b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6373, "upload_time": "2015-09-04T04:18:08", "url": "https://files.pythonhosted.org/packages/5b/bd/e01e28a55dd7392d8bae83dfc0a6e9347c11974e27552fde0d0cac369232/django_decorator_plus-0.0.1a2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e764ee69435b4dc4d94273688bba493c", "sha256": "6d2b6df30d23a32a982bae230a4277811b78e78e15daa6bb78b5ef821040537d" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a2.tar.gz", "has_sig": true, "md5_digest": "e764ee69435b4dc4d94273688bba493c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5084, "upload_time": "2015-09-04T04:17:58", "url": "https://files.pythonhosted.org/packages/f6/f9/f2a9f1aedf481f8f46ccebd011f7ea1560f08ae9456c524fe7c00f7f776e/django-decorator-plus-0.0.1a2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4f034b75f5d85d3957d783089fadd750", "sha256": "ee2275f1be19ce24cbe92794311772483dff17a173d03cb78eac5eb9d27ece5e" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a2.zip", "has_sig": true, "md5_digest": "4f034b75f5d85d3957d783089fadd750", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9578, "upload_time": "2015-09-04T04:18:02", "url": "https://files.pythonhosted.org/packages/5a/be/8ce9d1ddd93089835342e694e7e9306f165e2d325c6d21950015a2b9f4c8/django-decorator-plus-0.0.1a2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d82136895b1c078c51090164609f374b", "sha256": "97e95ead324b288a139c0ae444d04e4a7a370f389b7e040f51ffe6cb5fc5c94e" }, "downloads": -1, "filename": "django_decorator_plus-0.0.1a2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "d82136895b1c078c51090164609f374b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6373, "upload_time": "2015-09-04T04:18:08", "url": "https://files.pythonhosted.org/packages/5b/bd/e01e28a55dd7392d8bae83dfc0a6e9347c11974e27552fde0d0cac369232/django_decorator_plus-0.0.1a2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e764ee69435b4dc4d94273688bba493c", "sha256": "6d2b6df30d23a32a982bae230a4277811b78e78e15daa6bb78b5ef821040537d" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a2.tar.gz", "has_sig": true, "md5_digest": "e764ee69435b4dc4d94273688bba493c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5084, "upload_time": "2015-09-04T04:17:58", "url": "https://files.pythonhosted.org/packages/f6/f9/f2a9f1aedf481f8f46ccebd011f7ea1560f08ae9456c524fe7c00f7f776e/django-decorator-plus-0.0.1a2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4f034b75f5d85d3957d783089fadd750", "sha256": "ee2275f1be19ce24cbe92794311772483dff17a173d03cb78eac5eb9d27ece5e" }, "downloads": -1, "filename": "django-decorator-plus-0.0.1a2.zip", "has_sig": true, "md5_digest": "4f034b75f5d85d3957d783089fadd750", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9578, "upload_time": "2015-09-04T04:18:02", "url": "https://files.pythonhosted.org/packages/5a/be/8ce9d1ddd93089835342e694e7e9306f165e2d325c6d21950015a2b9f4c8/django-decorator-plus-0.0.1a2.zip" } ] }