{ "info": { "author": "Ethan Jucovy", "author_email": "ejucovy@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Contents:\n\nconsole scripts\n===============\n\n `maketemplatetag`\n -----------------\n\n A small script to output a new template tag to stdout, with human readable\n phrases encouraged. Inspired by the nice prepositions in django-tagging's\n template tags.\n\n If djangohelpers is installed with `setup.py`, a `maketemplatetag` script\n will be provided. Otherwise, it can also be invoked directly with \n `python djangohelpers/console_scripts.py`.\n\n Run `python djangohelpers/console_scripts.py` for usage information.\n\n\nmiddleware\n==========\n\n djangohelpers.middleware.AuthRequirementMiddleware\n --------------------------------------------------\n\n If enabled, it will intercept all requests that are not logged in, and\n redirect them to the login view.\n\n You can specify a list of anonymously-accessible URL paths (exempt from\n this middleware) with an ANONYMOUS_PATHS list in your settings.py file.\n\n These paths can be strings or regexes.\n\n Strings will be treated as URL PREFIXES to match against.\n\n Regexes will be matched against the URL directly.\n\n\n djangohelpers.middleware.HttpDeleteMiddleware\n ---------------------------------------------\n\n If enabled, it will intercept requests with a querystring key `delete`.\n GET requests will result in a confirmation form, and POST requests will\n have their REQUEST_METHOD set to DELETE.\n\n\nview decorators\n===============\n\n djangohelpers.allow_http\n ------------------------\n\n @allow_http(\"GET\", \"DELETE\")\n def my_view(request, ...)\n\n Requests with an allowed REQUEST_METHOD will be passed through untouched,\n and all other requests will return HTTP 405 Method Not Allowed.\n\n\n djangohelpers.rendered_with\n ---------------------------\n\n @rendered_with('foo/bar.html')\n def my_view(request, ...)\n\n If your view function returns a dict, it will be treated as a template context\n and the template foo/bar.html will be rendered and returned. If your view\n function returns anything besides a dict, its response will be passed through\n untouched.\n\n An optional mimetype parameter is also supported:\n\n @rendered_with('foo/bar.json', mimetype='application/json')\n def my_view(request, ...)\n \n\ntemplate tags\n=============\n\n djangohelpers.templatetags.helpful_tags\n ---------------------------------------\n\n A small collection of template tags and filters:\n\n {% replace_value of 'b' with 7 in my_dict as new_dict %}\n\n {{my_dict|qsify}} # converts a dict into a query string\n\n {{sometextwithwhitespace|split}}\n\n {{my_dict|getitem:'b'}}\n\n {{value|lessthan:12}}\n\n {{value|greaterthan:12}}\n\nOriginally developed at the Columbia Center for New Media Teaching & Learning.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "djangohelpers", "package_url": "https://pypi.org/project/djangohelpers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/djangohelpers/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/djangohelpers/0.19/", "requires_dist": null, "requires_python": null, "summary": "a collection of useful middleware, template tags, etc", "version": "0.19" }, "last_serial": 2913193, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2eaac0876fff0a8f8f0ff6fac825a63b", "sha256": "0f7597bd29ec74106869c7e444ace3e630de1896e5af07d9142c5265703da0a6" }, "downloads": -1, "filename": "djangohelpers-0.1.tar.gz", "has_sig": false, "md5_digest": "2eaac0876fff0a8f8f0ff6fac825a63b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4620, "upload_time": "2009-08-03T21:23:25", "url": "https://files.pythonhosted.org/packages/31/62/44c428de17a50158298687f3760f7ffc69a8ee0396faf3311ef026f34a4a/djangohelpers-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "9af0796b8960c2ad819ac7cd77bd809f", "sha256": "02c694bc4cbc2f6d901e5093c762e3b00105b3f3372c6e58519a7bc3e81fe684" }, "downloads": -1, "filename": "djangohelpers-0.10.tar.gz", "has_sig": false, "md5_digest": "9af0796b8960c2ad819ac7cd77bd809f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6321, "upload_time": "2013-04-05T02:12:04", "url": "https://files.pythonhosted.org/packages/36/59/4ee41690259dd64551919b793a4adc0f9d008a9ea15eb7481c7b9c2bea9f/djangohelpers-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "efce7d29a29171e9473cb2e87763f867", "sha256": "731c43511e75e8b001c8a4abfa53dd05c1f030438803f99458fee3514a2c1595" }, "downloads": -1, "filename": "djangohelpers-0.11.tar.gz", "has_sig": false, "md5_digest": "efce7d29a29171e9473cb2e87763f867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6333, "upload_time": "2013-04-05T03:14:09", "url": "https://files.pythonhosted.org/packages/74/2f/3dc99b4716a6e25e250171905579b9ed88b5416cdfbd6f35fce02bc2dd2d/djangohelpers-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "11f72222a7c59462a6285ea54daf0d76", "sha256": "1a8338e87eb4742a35d6a318640ba3707d12cf540ea11afc455f41a01ed9ec9c" }, "downloads": -1, "filename": "djangohelpers-0.12.tar.gz", "has_sig": false, "md5_digest": "11f72222a7c59462a6285ea54daf0d76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6337, "upload_time": "2013-04-29T20:19:44", "url": "https://files.pythonhosted.org/packages/96/37/6046f2ffea45bf1b7f7ea836a96f3fd975ee86e4e61502beca707afb6d56/djangohelpers-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "3761b3b5ac64920d0594f191d98219f8", "sha256": "0af072fdeec5b80295f42f2047d83e50ff77f739f9e8311c486b91eb12f98016" }, "downloads": -1, "filename": "djangohelpers-0.13.tar.gz", "has_sig": false, "md5_digest": "3761b3b5ac64920d0594f191d98219f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6629, "upload_time": "2013-07-01T12:06:29", "url": "https://files.pythonhosted.org/packages/09/c2/1dd8aeed26ae4a6d2e0651e330939229deefc0fc8759073d97673b2ed9c7/djangohelpers-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "903a9515661111a38fd1082f1c8a3fe8", "sha256": "db2a6ba1c5a8840e3bc94566df38ddbb761538c502c75ca412907d42a738d35f" }, "downloads": -1, "filename": "djangohelpers-0.14.tar.gz", "has_sig": false, "md5_digest": "903a9515661111a38fd1082f1c8a3fe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6649, "upload_time": "2013-10-15T15:27:32", "url": "https://files.pythonhosted.org/packages/47/2a/68c459e939b368eddd886ca1c76fd9c8d02e0ef80ab53117e080550cc5d5/djangohelpers-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "4a94fca03c4acf0a4c94b56790fa763b", "sha256": "35174e341c4148688b443bf89581a0b05952f4175d4ada5e7ef3406db7e56ca2" }, "downloads": -1, "filename": "djangohelpers-0.15.tar.gz", "has_sig": false, "md5_digest": "4a94fca03c4acf0a4c94b56790fa763b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6669, "upload_time": "2014-01-10T14:24:06", "url": "https://files.pythonhosted.org/packages/42/5c/6c82b62c0b07e31f522838f4402d3f31da79fb47821142f7eaca59e83f6b/djangohelpers-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "c127de51aa77dff25ecf79a21bfe13e0", "sha256": "1523603dc8bb6659333f356c26fc14825b7820964523a27561ba13c1e511c4c1" }, "downloads": -1, "filename": "djangohelpers-0.16.tar.gz", "has_sig": false, "md5_digest": "c127de51aa77dff25ecf79a21bfe13e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6664, "upload_time": "2014-11-05T02:08:49", "url": "https://files.pythonhosted.org/packages/54/35/afdeb04c867d1937c33ea6c8dce4e73c3ecac4bf563c2c8c8ff255067517/djangohelpers-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "72c64603283546c5040c40663ad23b04", "sha256": "aeb74b24a36eb4e1a4034d588277fdff8ccefca170ec378e79b2005c3e7ccfb2" }, "downloads": -1, "filename": "djangohelpers-0.17.tar.gz", "has_sig": false, "md5_digest": "72c64603283546c5040c40663ad23b04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6681, "upload_time": "2014-11-05T13:57:24", "url": "https://files.pythonhosted.org/packages/38/5f/18a2bcda83d31eb3d59eaa561e1bf4c0097026b69bb2cbca3f6f4060e30c/djangohelpers-0.17.tar.gz" } ], "0.18": [ { "comment_text": "", "digests": { "md5": "2c760de6ba458af58b525c1ef6df052a", "sha256": "6f2dc2aa24b6ccf50ac775645bbced4d91b2d7b63a5b7670a8fdd488ea47b359" }, "downloads": -1, "filename": "djangohelpers-0.18.tar.gz", "has_sig": false, "md5_digest": "2c760de6ba458af58b525c1ef6df052a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7271, "upload_time": "2014-12-12T13:16:34", "url": "https://files.pythonhosted.org/packages/aa/a0/e1689daf84b1055b334cdda0a6f45670970fc627f04bf5e6d54592aaed81/djangohelpers-0.18.tar.gz" } ], "0.18.1": [ { "comment_text": "", "digests": { "md5": "213acf5e6b27273a52f2db7b8648c18b", "sha256": "9f0fb285e98297db58b57fd2d7924190d980dbb51fcd7eb374cf7996fdb09eaa" }, "downloads": -1, "filename": "djangohelpers-0.18.1.tar.gz", "has_sig": false, "md5_digest": "213acf5e6b27273a52f2db7b8648c18b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6684, "upload_time": "2014-12-12T13:32:53", "url": "https://files.pythonhosted.org/packages/7c/1a/dda35262871a58e22eb78f69bf95b7844080dd951e47f4648d94cf761b1b/djangohelpers-0.18.1.tar.gz" } ], "0.18.2": [ { "comment_text": "", "digests": { "md5": "4413ed62c285120c8dd9eb0e84db4d9c", "sha256": "65ef74281909c9ec2dda468898611a37aa5822018f763e973febb03abb5d07dc" }, "downloads": -1, "filename": "djangohelpers-0.18.2.tar.gz", "has_sig": false, "md5_digest": "4413ed62c285120c8dd9eb0e84db4d9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6674, "upload_time": "2016-09-10T15:06:15", "url": "https://files.pythonhosted.org/packages/41/c1/363107289b3036eef0b683e8639bb1e80a93b3aba92a38e5638ce2144682/djangohelpers-0.18.2.tar.gz" } ], "0.19": [ { "comment_text": "", "digests": { "md5": "2672c99d64c8001e6f454426bd45098b", "sha256": "87aa3540a80b981f527c4789160c28f30256665726bfa6c25da480a1f3231210" }, "downloads": -1, "filename": "djangohelpers-0.19.tar.gz", "has_sig": false, "md5_digest": "2672c99d64c8001e6f454426bd45098b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7029, "upload_time": "2017-05-31T11:21:07", "url": "https://files.pythonhosted.org/packages/14/ae/c3e0e6f3cdc457839b1a98a5c3ebb16d1f5a2f3ad06d4c9790b68c4a8514/djangohelpers-0.19.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "8d7c7346f975d278348808f9c3dea72e", "sha256": "34e6fb5bb6e1ea154e0bb633a3543cb7b91bcdeb92ab497217babdb645784013" }, "downloads": -1, "filename": "djangohelpers-0.2.tar.gz", "has_sig": false, "md5_digest": "8d7c7346f975d278348808f9c3dea72e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5168, "upload_time": "2009-10-15T18:58:04", "url": "https://files.pythonhosted.org/packages/04/c1/30d59cf023a1d6b3dfbc9e74f9b4cca6b5d97277e0efa35ff6fca56e7f0e/djangohelpers-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "baf9bd4267ddfebc38d7a05d8da67460", "sha256": "533cbe5943aca2a8ea361cd37d8f09e3ab005aaef1cee022a6d308bda20d7744" }, "downloads": -1, "filename": "djangohelpers-0.3.tar.gz", "has_sig": false, "md5_digest": "baf9bd4267ddfebc38d7a05d8da67460", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5356, "upload_time": "2011-09-15T18:43:54", "url": "https://files.pythonhosted.org/packages/59/8e/7fb2580de8ff4ad81b034dcef89f2f7489d7f0cdc04d42269477560ad57a/djangohelpers-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "12efe2a04fb9c39c1cf175d55e776903", "sha256": "20b18f0ff2287b0a87e4cae97c7db43ee5085469c799b9d1055fc97b933e3b11" }, "downloads": -1, "filename": "djangohelpers-0.3.1.tar.gz", "has_sig": false, "md5_digest": "12efe2a04fb9c39c1cf175d55e776903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5386, "upload_time": "2011-10-13T16:40:35", "url": "https://files.pythonhosted.org/packages/dc/90/d319b26ffab50a22219089f2eab55cb233f03ecccb0e2d6e0361a0217319/djangohelpers-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "64aff1d3e5c763e57bdb41218f6bb84d", "sha256": "1569d16d7e40d66c52318f34f2a0cc05952db2bd88cbfbea2cf4d9bbe9b2dba9" }, "downloads": -1, "filename": "djangohelpers-0.4.tar.gz", "has_sig": false, "md5_digest": "64aff1d3e5c763e57bdb41218f6bb84d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5456, "upload_time": "2011-10-27T15:12:49", "url": "https://files.pythonhosted.org/packages/1f/a8/b7a65986aca88f2af4e5466478d4d45896409711baf90846cb9b3d0036a0/djangohelpers-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "55901be76d08f223d1c50e002d4d49c7", "sha256": "65d887695daa7348eba73a02c060278ccb44b2980bbbbd2654bf59dd50f4e980" }, "downloads": -1, "filename": "djangohelpers-0.5.tar.gz", "has_sig": false, "md5_digest": "55901be76d08f223d1c50e002d4d49c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5486, "upload_time": "2011-11-17T22:57:16", "url": "https://files.pythonhosted.org/packages/f7/7e/c3de61d400c9573a551d505feaaf3186f99ec46ea684ee32b681aac4d94d/djangohelpers-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "5fc88e0a61228214686891f1e9198005", "sha256": "44254391cbd3a8f480ce4f84b7f1dcfda5647c823fd220f8e8bd2ccb2d636833" }, "downloads": -1, "filename": "djangohelpers-0.6.tar.gz", "has_sig": false, "md5_digest": "5fc88e0a61228214686891f1e9198005", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5514, "upload_time": "2011-12-26T16:04:39", "url": "https://files.pythonhosted.org/packages/33/66/6544deb4f4f82f45ffef4bcfcf0345b50f33686a652b4dd50b6f6a36374e/djangohelpers-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "c066b1a6b6274129cccf27c7ac9b0e3d", "sha256": "581f88fbfd61d86f37dd53db0c0f0583988938fb5aa6d6e819eb86a63ae70349" }, "downloads": -1, "filename": "djangohelpers-0.7.tar.gz", "has_sig": false, "md5_digest": "c066b1a6b6274129cccf27c7ac9b0e3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5568, "upload_time": "2013-01-05T21:39:09", "url": "https://files.pythonhosted.org/packages/4a/2b/16c0d390028d70ee4312f16b0e07e99068b9fa468b910d093dbe7a84ea47/djangohelpers-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "b101ddcdb3fb1a8fa3a495eb9ed025f6", "sha256": "8b79cc1ec0652bb08ed63fd99ab57df8e496f1d30696bc56a0afee6ee3b6bd31" }, "downloads": -1, "filename": "djangohelpers-0.8.tar.gz", "has_sig": false, "md5_digest": "b101ddcdb3fb1a8fa3a495eb9ed025f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5606, "upload_time": "2013-01-10T13:58:04", "url": "https://files.pythonhosted.org/packages/78/ba/9008ab5f28f58292ac231b05a0cfe31a05ad82050dc9f98e96ce37d56402/djangohelpers-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "ea21a2e3b37c8c0e55282f275c791eb8", "sha256": "bac347a4dd22853c6d0a698854e0407989966c051690a83a7871acb629a40327" }, "downloads": -1, "filename": "djangohelpers-0.9.tar.gz", "has_sig": false, "md5_digest": "ea21a2e3b37c8c0e55282f275c791eb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5697, "upload_time": "2013-01-27T22:02:14", "url": "https://files.pythonhosted.org/packages/4b/9e/07c07c6a4aa67af7c44382cc6b83e2d0194133c20c4b0af7f300c82bb7c0/djangohelpers-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2672c99d64c8001e6f454426bd45098b", "sha256": "87aa3540a80b981f527c4789160c28f30256665726bfa6c25da480a1f3231210" }, "downloads": -1, "filename": "djangohelpers-0.19.tar.gz", "has_sig": false, "md5_digest": "2672c99d64c8001e6f454426bd45098b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7029, "upload_time": "2017-05-31T11:21:07", "url": "https://files.pythonhosted.org/packages/14/ae/c3e0e6f3cdc457839b1a98a5c3ebb16d1f5a2f3ad06d4c9790b68c4a8514/djangohelpers-0.19.tar.gz" } ] }