{ "info": { "author": "David Cramer", "author_email": "dcramer@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "django-view-as\n==============\n\nA simple middleware which allows a superuser to view the site on behalf of another user.\n\nThis idea originated within Disqus, and has served quite well in helping debug user problems.\n\n\nInstall\n-------\n\nInstall the package:\n\n::\n\n\tpip install django-view-as\n\n\nAdd the middleware:\n\n::\n\n\tMIDDLEWARE_CLASSES = (\n\t\t'viewas.middleware.ViewAsMiddleware',\n\t)\n\nRegister the application within INSTALLED_APPS:\n\n::\n\n\tINSTALLED_APPS = (\n\t\t'django.contrib.auth',\n\t\t'django.contrib.sessions',\n\t\t'viewas',\n\t)\n\nMake sure the application loader is available for templates:\n\n::\n\n\tTEMPLATE_LOADERS = (\n\t\t'django.template.loaders.app_directories.Loader',\n\t)\n\n\nUsage\n-----\n\nLoad any page with an html response type, hit the tilda key (~), and you'll see a new toolbar at the bottom of the page. Enter a username to change who you're viewing the site as.\n\n\nConfigure the menu toggle key\n-----------------------------\n\nThe following configuration option could be set in your settings.py to change the default keystroke to toggle the \"View as\" menu. Its value is the javascript key number that will be matched in the `keydown` event handler.\n\n::\n\t\n\tVIEWAS_TOGGLE_KEY = 119 # F8\n\n\nIf you need more complex behavior (such as not binding based on the superuser attribute), check out the source the middleware is designed to be extensibile.\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "django-view-as", "package_url": "https://pypi.org/project/django-view-as/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-view-as/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-view-as/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "A Django middleware which allows you to view the site on behalf of a user.", "version": "0.5.0" }, "last_serial": 1621850, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9b307c2f57753f8aa49b528d1eac2c5c", "sha256": "ef6eec18248582d0574e55371a8c83c18a817c3d535dd3c06524aa2829c771e5" }, "downloads": -1, "filename": "django-view-as-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9b307c2f57753f8aa49b528d1eac2c5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7406, "upload_time": "2013-02-10T21:29:46", "url": "https://files.pythonhosted.org/packages/09/77/b83d0dc98e40cecab066a0db730967ae1381879329f1bd0b4b567fcf9e5e/django-view-as-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "26e5bc39f37a287d98f0700f11ec6ae4", "sha256": "3080544de5f16c792af8e52bfb986e935c4eb3d0eb531200494676ebc4161c11" }, "downloads": -1, "filename": "django-view-as-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26e5bc39f37a287d98f0700f11ec6ae4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7393, "upload_time": "2013-02-10T21:33:37", "url": "https://files.pythonhosted.org/packages/f6/c5/4dca05a745aff0ebd026aeb3a53fdea01beff650690510041a72ac08d500/django-view-as-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8e43460b46e1b63b518aaf07569553b3", "sha256": "9fea6336fc7e6440b9b76642fb453ecb100bdd04f9e932c06a78141820d2b860" }, "downloads": -1, "filename": "django-view-as-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8e43460b46e1b63b518aaf07569553b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7390, "upload_time": "2013-02-10T21:40:44", "url": "https://files.pythonhosted.org/packages/7d/40/ccf8ecd74195b51fa6bfe036015d41e7dfe1304bd07717f97c3be1ff768d/django-view-as-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "cda6b08f550998867c5c91dd6a508b42", "sha256": "3f214aee0eb00e612aad81d4166931278e035a2100fed145091754e4c1a1059f" }, "downloads": -1, "filename": "django-view-as-0.1.3.tar.gz", "has_sig": false, "md5_digest": "cda6b08f550998867c5c91dd6a508b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7389, "upload_time": "2013-02-10T21:48:09", "url": "https://files.pythonhosted.org/packages/50/fa/a5695bf8dc58c7444ffce6ded3ab5d2faacb9e78c2e57f0697bc6095eebf/django-view-as-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4fbc953e496d713b9c08a49af4eb41a4", "sha256": "b44eaf9e6cd159e40845d321761fe1c8813c30f618b72124c99e1286f19ade07" }, "downloads": -1, "filename": "django-view-as-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4fbc953e496d713b9c08a49af4eb41a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7394, "upload_time": "2013-02-10T22:01:35", "url": "https://files.pythonhosted.org/packages/ab/ae/3aecb68e8807fff96598a17b0b0a8008dbfb09e2fd3a8dba2a23e9fc0b8f/django-view-as-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "e4a54da8bb43d277c48cfbea971cd653", "sha256": "64ab9295a2fcc1321c88280920a0adeb742b1be4a8047846f4f0421a38ced8ff" }, "downloads": -1, "filename": "django-view-as-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e4a54da8bb43d277c48cfbea971cd653", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7409, "upload_time": "2013-02-10T22:05:00", "url": "https://files.pythonhosted.org/packages/7b/f4/728a68a3219cf3746e0fcbb2795a376230e86e6b3d39ebc87e7bdf82683e/django-view-as-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "81ee7efda33a890bc6eb02cfd92a34e6", "sha256": "8fc6863d6e35789f7d5fb19f32566095f436931a0ab4f8074d7892ffa3b46f91" }, "downloads": -1, "filename": "django-view-as-0.2.0.tar.gz", "has_sig": false, "md5_digest": "81ee7efda33a890bc6eb02cfd92a34e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7608, "upload_time": "2013-06-25T19:29:47", "url": "https://files.pythonhosted.org/packages/83/2c/24bfdd51a7b5122d578d2abf552b170e16d8b39624aa57a93a652f23b64f/django-view-as-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1773a363e169a7c060397e334815100b", "sha256": "72e50a5ba5f552922c0cf7640e9d308e48f1c0fa01236f4c345354be38a54f78" }, "downloads": -1, "filename": "django-view-as-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1773a363e169a7c060397e334815100b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7613, "upload_time": "2013-06-25T19:32:45", "url": "https://files.pythonhosted.org/packages/f9/2c/f3ed5649febb95466f84c6f1260af1ad6e6d0cc95dc56230fdb9f5f45332/django-view-as-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9741ad0ca6eb50d94ba3e9e582250863", "sha256": "e3b33659595a6ea144ad039045ec9da5ee027b0d191cf172024095e586d7d718" }, "downloads": -1, "filename": "django-view-as-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9741ad0ca6eb50d94ba3e9e582250863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7678, "upload_time": "2013-06-25T22:12:17", "url": "https://files.pythonhosted.org/packages/a8/7d/017ec539a768e3eae901ee202afb7f7b6222ce083db0c8c8e5f2328480f6/django-view-as-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "c39193c95a4ee1dab64e942b1e9d3906", "sha256": "716fbda569e09caa75b9664cef2722cf8e2001555f6fff97e68555777e8ba02b" }, "downloads": -1, "filename": "django-view-as-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c39193c95a4ee1dab64e942b1e9d3906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7669, "upload_time": "2013-06-27T00:02:32", "url": "https://files.pythonhosted.org/packages/cc/22/bd2c213bc9b09d26962692877962dd0ec8edc534fa267c6a26c89a634477/django-view-as-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "8dd218c062c8d163360c28100d3f4ff3", "sha256": "d0cf675ba6ed947ca185370f6e86d0dd753bc721aebe0c96cc7d894f98652f9e" }, "downloads": -1, "filename": "django-view-as-0.2.4.tar.gz", "has_sig": false, "md5_digest": "8dd218c062c8d163360c28100d3f4ff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7670, "upload_time": "2013-06-27T00:09:27", "url": "https://files.pythonhosted.org/packages/52/43/91cac873f9070f68edd9f16bc78d535889ac89bf0b33fc9732a75f363a31/django-view-as-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "ba211c17fa4377d0ea9b68a1451a7899", "sha256": "08a808b31c17f4dfd4addf25fdcd5b57416b2ac4f218aef60fdcb56dd97123cf" }, "downloads": -1, "filename": "django-view-as-0.3.0.tar.gz", "has_sig": false, "md5_digest": "ba211c17fa4377d0ea9b68a1451a7899", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7731, "upload_time": "2013-12-03T09:48:23", "url": "https://files.pythonhosted.org/packages/ae/23/38f7a1f8b520cf2a48e38daa2032b95d3c63bba1129ac9c976284e78680d/django-view-as-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "6d37d52ad660d5e617c42b3f9b422b9a", "sha256": "5fadb25e4dc704368e0940d1a4021bca67d248022526d4cd05fb65f54f3ffe3b" }, "downloads": -1, "filename": "django-view-as-0.3.1.tar.gz", "has_sig": false, "md5_digest": "6d37d52ad660d5e617c42b3f9b422b9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7732, "upload_time": "2014-12-23T18:46:32", "url": "https://files.pythonhosted.org/packages/82/b0/aefc93fb7f851e34a74bb335790e21456f53b95ce93418d1f09aa2466c24/django-view-as-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "28f4fa3fe63d0a9ffa1a4cdefad87282", "sha256": "2cbe8ecb811a2172129ce2398cffc605fd83659cece0d4ad3529bffc48ae9e11" }, "downloads": -1, "filename": "django-view-as-0.4.0.tar.gz", "has_sig": false, "md5_digest": "28f4fa3fe63d0a9ffa1a4cdefad87282", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7895, "upload_time": "2015-05-12T05:07:36", "url": "https://files.pythonhosted.org/packages/b5/ea/4f35100b876a8a331d2271cf5f8273d6afa37964e161a9e841b8021a1476/django-view-as-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "3d4bbc405ea3a42571befec936c26991", "sha256": "e9fa282a7f18a1477998c5ccb075037e5b5fa95a7e557a65a77dddf9141a5e2b" }, "downloads": -1, "filename": "django-view-as-0.5.0.tar.gz", "has_sig": false, "md5_digest": "3d4bbc405ea3a42571befec936c26991", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8233, "upload_time": "2015-07-06T23:35:12", "url": "https://files.pythonhosted.org/packages/8e/03/8942aee2d10cb88fb1330c20b7a659ea30edfd763297fa5b0478c2be2973/django-view-as-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d4bbc405ea3a42571befec936c26991", "sha256": "e9fa282a7f18a1477998c5ccb075037e5b5fa95a7e557a65a77dddf9141a5e2b" }, "downloads": -1, "filename": "django-view-as-0.5.0.tar.gz", "has_sig": false, "md5_digest": "3d4bbc405ea3a42571befec936c26991", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8233, "upload_time": "2015-07-06T23:35:12", "url": "https://files.pythonhosted.org/packages/8e/03/8942aee2d10cb88fb1330c20b7a659ea30edfd763297fa5b0478c2be2973/django-view-as-0.5.0.tar.gz" } ] }