{ "info": { "author": "Jeff Kistler", "author_email": "jeff@jeffkistler.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP" ], "description": "django-decorator-include\n========================\n\nInclude Django URL patterns with decorators.\n\nMaintained by St\u00e9phane \"Twidi\" Angel, and Jon Dufresne on\nhttps://github.com/twidi/django-decorator-include\nbased on the original work from Jeff Kistler on\nhttps://github.com/jeffkistler/django-decorator-include.\n\n.. image:: https://badge.fury.io/py/django-decorator-include.svg\n :target: https://badge.fury.io/py/django-decorator-include\n\n.. image:: https://travis-ci.org/twidi/django-decorator-include.svg?branch=develop\n :target: https://travis-ci.org/twidi/django-decorator-include\n\nInstallation\n------------\n\nAssuming you have pip installed, run the following command to install from\nPyPI::\n\n pip install django-decorator-include\n\n\nUsage\n-----\n\n``decorator_include`` is intended for use in URL confs as a replacement for the\n``django.conf.urls.include`` function. It works in almost the same way as\n``include``, however the first argument should be either a decorator or an\niterable of decorators to apply, in reverse order, to all included views. Here\nis an example URL conf::\n\n from django.urls import path\n from django.contrib.auth.decorators import login_required\n\n from decorator_include import decorator_include\n\n from mysite.views import index\n\n urlpatterns = [\n path('', views.index, name='index'),\n path('secret/', decorator_include(login_required, 'mysite.secret.urls')),\n ]\n\n\nSupported versions\n------------------\n\n=============== ==================\nDjango versions Python versions\n=============== ==================\n2.0 3.4, 3.5, 3.6, 3.7\n2.1 3.5, 3.6, 3.7\n=============== ==================\n\nAll library versions to use for old Django/Python support\n---------------------------------------------------------\n\n=============== ======================= ==================\nDjango versions Python versions Library versions\n=============== ======================= ==================\n1.4, 1.5 2.6, 2.7 1.2\n1.6 2.6, 2.7, 3.2, 3.3 1.2\n1.7 2.7, 3.2, 3.3, 3.4 1.2\n1.8 2.7, 3.2, 3.3, 3.4, 3.5 1.3\n1.9, 1.10 2.7, 3.4, 3.5 1.3\n1.11 2.7, 3.4, 3.5, 3.6 1.4.x (>=1.4.1,<2)\n2.0 3.4, 3.5, 3.6, 3.7 2.0\n2.1 3.5, 3.6, 3.7 2.1\n=============== ======================= ==================\n\n\nDevelopment\n-----------\n\nMake sure you are in a virtualenv on a valid python version.\n\nGrab the sources from Github::\n\n git clone -b develop https://github.com/twidi/django-decorator-include.git\n\n\nThen go into the newly created ``django-decorator-include`` directory and install\nthe few needed libraries::\n\n pip install -r requirements.txt\n\n\nTo run the tests, this library provides a test project, so you can launch\nthem this way::\n\n django-admin test --settings=tests.settings tests\n\nOr simply launch the ``runtests.sh`` script (it will run this exact command)::\n\n ./runtests.sh\n\nBase your work on the ``develop`` branch. Iit should be the default branch on\ngit assuming you used the ``-b develop`` argument on the ``git clone``\ncommand as shown above.\n\nWhen creating the pull request, ensure you are using the correct base\n(twidi/django-decorator-include on develop).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/twidi/django-decorator-include", "keywords": "django,urls", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-decorator-include", "package_url": "https://pypi.org/project/django-decorator-include/", "platform": "", "project_url": "https://pypi.org/project/django-decorator-include/", "project_urls": { "Homepage": "https://github.com/twidi/django-decorator-include" }, "release_url": "https://pypi.org/project/django-decorator-include/2.1/", "requires_dist": [ "Django (>=2.0)", "flake8; extra == 'dev'", "isort; extra == 'dev'" ], "requires_python": ">=3.4", "summary": "Include Django URL patterns with decorators", "version": "2.1" }, "last_serial": 4521228, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f370c57df6495ce8f7f7b26a7133e72c", "sha256": "766b8e516c5fb9f95819c793d0cd82174e50201adaa1e1e984d24021e99e48d4" }, "downloads": -1, "filename": "django-decorator-include-0.1.tar.gz", "has_sig": false, "md5_digest": "f370c57df6495ce8f7f7b26a7133e72c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3199, "upload_time": "2014-03-18T21:50:43", "url": "https://files.pythonhosted.org/packages/bd/1c/369ef9da1779840e6c63c1f135cae07a8bb7e1699a41678311774f5632db/django-decorator-include-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4aa7b636f684c5985551b674ee85c0ce", "sha256": "3cf077c67b965bd1b3eda6201b23c560b2dd10340ae1276588984a5287b8af38" }, "downloads": -1, "filename": "django-decorator-include-0.2.tar.gz", "has_sig": false, "md5_digest": "4aa7b636f684c5985551b674ee85c0ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3278, "upload_time": "2014-11-19T15:19:30", "url": "https://files.pythonhosted.org/packages/9b/06/76846c02f9444b95d424f8163aad99f4f6f957a03e36a07da5fa5847d819/django-decorator-include-0.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "c735fbd49bc3bd46bd9f208c46e03b1c", "sha256": "a56def180b1b862fc62e33543501127384daff5e01f58735af9eece9d28d6e3c" }, "downloads": -1, "filename": "django_decorator_include-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c735fbd49bc3bd46bd9f208c46e03b1c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8991, "upload_time": "2015-10-25T20:50:23", "url": "https://files.pythonhosted.org/packages/b0/27/c08321e06b41e9344896768beafd98c6df32b5cf86e633117b28e90aef12/django_decorator_include-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fcb080a83976f35dfa063293b64b208", "sha256": "b1d6bc0c21120442ccb03e1234b2c1f79c9aea40845f8a494c02821b31dd101b" }, "downloads": -1, "filename": "django-decorator-include-1.0.tar.gz", "has_sig": false, "md5_digest": "1fcb080a83976f35dfa063293b64b208", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4995, "upload_time": "2015-10-25T20:50:17", "url": "https://files.pythonhosted.org/packages/8a/aa/b85f038b32a6d132cbaedcb5a014a3a7ccb4626c47ea86734e85af1aff1c/django-decorator-include-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "7ac6b9be7a6dfad02a13deb53bbd1ddb", "sha256": "1184b1cdf6de1a7dd63d5c5a817c1d4b3fc83219c426f12da4a23d42199a6c5c" }, "downloads": -1, "filename": "django_decorator_include-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "7ac6b9be7a6dfad02a13deb53bbd1ddb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9038, "upload_time": "2015-12-15T21:26:48", "url": "https://files.pythonhosted.org/packages/06/ec/f291d86986300604894f054137b469324819f9593272c39dacc40cd296d4/django_decorator_include-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11083b383f48700b9203327568fb0ccb", "sha256": "571f183599dbd7d1fc9caf2809157347f182c85b2536e9b979c1c87326cc5dfe" }, "downloads": -1, "filename": "django-decorator-include-1.1.tar.gz", "has_sig": false, "md5_digest": "11083b383f48700b9203327568fb0ccb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5038, "upload_time": "2015-12-15T21:26:40", "url": "https://files.pythonhosted.org/packages/95/7b/b8c04bc9d2b7597d00938f6eb5f7fcfade5363639771285cb9b84ea0ae5b/django-decorator-include-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "7b1b9634aa9f4ca66320f24bfe783668", "sha256": "ae4fb79672b7a7f6aa5312ae23ac0c948644003d2824e5e33cb74208f8e0ed8a" }, "downloads": -1, "filename": "django_decorator_include-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "7b1b9634aa9f4ca66320f24bfe783668", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9110, "upload_time": "2016-12-28T21:33:13", "url": "https://files.pythonhosted.org/packages/40/a5/282b73969923e2c46a771457fd32df9cdfe770b7979ec97289cbdc961811/django_decorator_include-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e4dbb63d471fe6b5f12db099194d8332", "sha256": "0675ec0923c88174e124688c301efe646b1de353a9e330bc8404a708543236f2" }, "downloads": -1, "filename": "django-decorator-include-1.2.tar.gz", "has_sig": false, "md5_digest": "e4dbb63d471fe6b5f12db099194d8332", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5059, "upload_time": "2016-12-28T21:33:11", "url": "https://files.pythonhosted.org/packages/36/39/a852dc7665ea79e4c2a3812f848943fe018e119785b850c45fa134d3333e/django-decorator-include-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "884f9eb0858bc91dbdc25ed421017121", "sha256": "fd172a88de1dd38e19ddb0d91525ab7240139a3b11687bf1ea2eb775549fd073" }, "downloads": -1, "filename": "django_decorator_include-1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "884f9eb0858bc91dbdc25ed421017121", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5899, "upload_time": "2017-05-16T10:15:14", "url": "https://files.pythonhosted.org/packages/f5/06/16291535983b532988eee1df26aba3d8e86794adf8d2fef60642a15d44a3/django_decorator_include-1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4fc753b93f6add719c72b4f66c20330a", "sha256": "2dcbbb028723f242f2280d7c475cce59b69db967722ed80ccc9dc7729ca2e802" }, "downloads": -1, "filename": "django-decorator-include-1.3.tar.gz", "has_sig": false, "md5_digest": "4fc753b93f6add719c72b4f66c20330a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4696, "upload_time": "2017-05-16T10:15:16", "url": "https://files.pythonhosted.org/packages/eb/c8/9212d5083e822e67d8ba27f75c86b8a635a4f08005089dd1b684ba12d72a/django-decorator-include-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "ab64d3e879bb2b0f63b07c20c0be1141", "sha256": "c34802cd1f057a0c08dcf5d075dbc5c7f771b2891f62fc86396aa428724d5c64" }, "downloads": -1, "filename": "django_decorator_include-1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab64d3e879bb2b0f63b07c20c0be1141", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7337, "upload_time": "2018-01-25T18:12:32", "url": "https://files.pythonhosted.org/packages/21/f5/74a0503108b4845c4343cd97db9225dcb87ece1b8622f2ef2a324a644441/django_decorator_include-1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5c1b30c37fbf2730f30297dfd6de915", "sha256": "71ce3f7159da10fb2acb9e7331c9f13ee0f2ebdaf11aae2a02abfe38dd040a76" }, "downloads": -1, "filename": "django-decorator-include-1.4.tar.gz", "has_sig": false, "md5_digest": "b5c1b30c37fbf2730f30297dfd6de915", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4787, "upload_time": "2018-01-25T18:12:33", "url": "https://files.pythonhosted.org/packages/f1/dc/71bbef2b6891abec55a38ad763733cf5bd9bb3d1fb6458e102fe7e807c23/django-decorator-include-1.4.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "166944a6ac778831701a837b94b0ee06", "sha256": "5514ab61381613959b40321dc97daca3e0449b04b65dac8373534a030f1238fc" }, "downloads": -1, "filename": "django_decorator_include-1.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "166944a6ac778831701a837b94b0ee06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7339, "upload_time": "2018-03-22T14:04:04", "url": "https://files.pythonhosted.org/packages/19/db/ca8eabaf8267a1c62b80df3a2c45d1eb182e1d01fe29dbc502c6aac03ecd/django_decorator_include-1.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ba32d6a183550220976ebdb7abfee5f", "sha256": "715d00054bcbebd5f65575a7bd97d4823c1a459ed283a8c499f5a8b25cc75099" }, "downloads": -1, "filename": "django-decorator-include-1.4.1.tar.gz", "has_sig": false, "md5_digest": "9ba32d6a183550220976ebdb7abfee5f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4798, "upload_time": "2018-03-22T14:04:05", "url": "https://files.pythonhosted.org/packages/1b/a5/e0c06552672cb99c8dd85a9be391a29d39d9fcdbe5f2d7684392f8cd53cf/django-decorator-include-1.4.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "4cc54a039368e11eb49d4a2c2e67bb3d", "sha256": "e4c913fd0af93213d2342473bbf6e4e4ce74e23c98add44a0793238d2f7ce8e3" }, "downloads": -1, "filename": "django_decorator_include-2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4cc54a039368e11eb49d4a2c2e67bb3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7371, "upload_time": "2018-01-26T18:18:23", "url": "https://files.pythonhosted.org/packages/ca/d0/702eb7ec5e21c3c943cab4b7086e6e6fa6953b3bfc521c1ecc8c47e429f5/django_decorator_include-2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ec37fd9e335d2143aa7a6b674d85c05", "sha256": "44580c11930d2dd5d56554002f384f7165dd31e56469363e1e0c35994c170ab7" }, "downloads": -1, "filename": "django-decorator-include-2.0.tar.gz", "has_sig": false, "md5_digest": "0ec37fd9e335d2143aa7a6b674d85c05", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4849, "upload_time": "2018-01-26T18:18:25", "url": "https://files.pythonhosted.org/packages/15/8b/996a8ed02975adbfae31eda5ce13fbc605039589c198572f1aa1d4e02dd5/django-decorator-include-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "31bb53b108ad640d2672c3887d2dee8f", "sha256": "fd2d6735a6225c3836908b3cca6366e0f5b556a44a47ac92cc1f08c86fa5a3dc" }, "downloads": -1, "filename": "django_decorator_include-2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "31bb53b108ad640d2672c3887d2dee8f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7422, "upload_time": "2018-11-23T16:36:35", "url": "https://files.pythonhosted.org/packages/1e/56/3ca8f90efcc133effb10ecbe2df454e0714178ec086d5398b5b2c61fe744/django_decorator_include-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f50a3e073a4b4fdf85f7a6db53ba222", "sha256": "41df70c2b9bd5fe0143d01d6469c522c5e301d3e34f2df5c22a25cae798d8971" }, "downloads": -1, "filename": "django-decorator-include-2.1.tar.gz", "has_sig": false, "md5_digest": "5f50a3e073a4b4fdf85f7a6db53ba222", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4885, "upload_time": "2018-11-23T16:11:59", "url": "https://files.pythonhosted.org/packages/60/31/1ef72c79f66d758755280b18a6b3b95557faef22236a240225c3496b2596/django-decorator-include-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31bb53b108ad640d2672c3887d2dee8f", "sha256": "fd2d6735a6225c3836908b3cca6366e0f5b556a44a47ac92cc1f08c86fa5a3dc" }, "downloads": -1, "filename": "django_decorator_include-2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "31bb53b108ad640d2672c3887d2dee8f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7422, "upload_time": "2018-11-23T16:36:35", "url": "https://files.pythonhosted.org/packages/1e/56/3ca8f90efcc133effb10ecbe2df454e0714178ec086d5398b5b2c61fe744/django_decorator_include-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f50a3e073a4b4fdf85f7a6db53ba222", "sha256": "41df70c2b9bd5fe0143d01d6469c522c5e301d3e34f2df5c22a25cae798d8971" }, "downloads": -1, "filename": "django-decorator-include-2.1.tar.gz", "has_sig": false, "md5_digest": "5f50a3e073a4b4fdf85f7a6db53ba222", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4885, "upload_time": "2018-11-23T16:11:59", "url": "https://files.pythonhosted.org/packages/60/31/1ef72c79f66d758755280b18a6b3b95557faef22236a240225c3496b2596/django-decorator-include-2.1.tar.gz" } ] }