{ "info": { "author": "Andrei Coman", "author_email": "comandrei@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\ndjango-shortcircuit\n=============================\n\n.. image:: https://badge.fury.io/py/django-shortcircuit.png\n :target: https://badge.fury.io/py/django-shortcircuit\n\n.. image:: https://travis-ci.org/comandrei/django-shortcircuit.png?branch=master\n :target: https://travis-ci.org/comandrei/django-shortcircuit\n\n.. image:: https://landscape.io/github/comandrei/django-shortcircuit/master/landscape.svg?style=flat\n :target: https://landscape.io/github/comandrei/django-shortcircuit/master\n :alt: Code Health\n\nShortcircuit Django middlewares for a list of views you want skipped\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-shortcircuit.readthedocs.org.\n\nQuickstart\n----------\n\nInstall django-shortcircuit::\n\n pip install django-shortcircuit\n\nThen use it in a project::\n\n Include it in your middleware classes, BEFORE middlewares you potentially want skipped\n ::\n MIDDLEWARE_CLASSES = ( ... 'shortcircuit.middleware.ShortCircuitMiddleware', ... )\n\n Define a list of urlpatterns you want skipped\n\n ::\n SHORTCIRCUIT_URL_PATTERNS = (r'^/skip_me', r'^/also_me')\n\n\n\nFeatures\n--------\n\n* This middleware allows skipping middlewares that aren't usefull for certain URL patterns.\n It's targeted to applications where there is heavy processing done in middleware and for various reasons (code ownership, lack of time) it's hard to do proper refactoring\n Bear in mind, this only skips process_view methods of middlewares used after ShortCircuitMiddleware\n\nRunning Tests\n--------------\n\nDoes the code actually work?\n\n::\n tox -e py27-django19\n\n\nCredits\n---------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-pypackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.1.0 (2016-05-15)\n++++++++++++++++++\n\n* First release on PyPI\n* Includes shortcircuiting middleware, bypassing process_view only", "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/comandrei/django-shortcircuit", "keywords": "django-shortcircuit", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-shortcircuit", "package_url": "https://pypi.org/project/django-shortcircuit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-shortcircuit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/comandrei/django-shortcircuit" }, "release_url": "https://pypi.org/project/django-shortcircuit/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Shortcircuit Django middlewares for a list of views you want skipped", "version": "0.1.0" }, "last_serial": 2116921, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7ab733fbc298029af23937c5c634e9f0", "sha256": "c4d750ba04263ddd0420e020f7464caf27f88177476846d0b5ba2949aa9dd74a" }, "downloads": -1, "filename": "django_shortcircuit-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ab733fbc298029af23937c5c634e9f0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6035, "upload_time": "2016-05-15T18:05:06", "url": "https://files.pythonhosted.org/packages/eb/e6/252ea192b622fe7a8acdb83846caa2230712c908725aadd82c57c6a9fcca/django_shortcircuit-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1a711cda0b645b7ea7b8a8013f1b591", "sha256": "2ebda1b1c16f3335cf082efc3d11861541cea816265a0dc9a3655af47c27c4c3" }, "downloads": -1, "filename": "django-shortcircuit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b1a711cda0b645b7ea7b8a8013f1b591", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5934, "upload_time": "2016-05-15T18:05:18", "url": "https://files.pythonhosted.org/packages/6a/bc/cf5266d101799d1a36ab386d93c4780aa12eb4c303ccf20fcd84014a58b0/django-shortcircuit-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ab733fbc298029af23937c5c634e9f0", "sha256": "c4d750ba04263ddd0420e020f7464caf27f88177476846d0b5ba2949aa9dd74a" }, "downloads": -1, "filename": "django_shortcircuit-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ab733fbc298029af23937c5c634e9f0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6035, "upload_time": "2016-05-15T18:05:06", "url": "https://files.pythonhosted.org/packages/eb/e6/252ea192b622fe7a8acdb83846caa2230712c908725aadd82c57c6a9fcca/django_shortcircuit-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1a711cda0b645b7ea7b8a8013f1b591", "sha256": "2ebda1b1c16f3335cf082efc3d11861541cea816265a0dc9a3655af47c27c4c3" }, "downloads": -1, "filename": "django-shortcircuit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b1a711cda0b645b7ea7b8a8013f1b591", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5934, "upload_time": "2016-05-15T18:05:18", "url": "https://files.pythonhosted.org/packages/6a/bc/cf5266d101799d1a36ab386d93c4780aa12eb4c303ccf20fcd84014a58b0/django-shortcircuit-0.1.0.tar.gz" } ] }