{ "info": { "author": "Mikko Hellsing", "author_email": "mikko@sumusm.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.7" ], "description": "django-superuser\n================\nAt some point in development you wish you were just automatically logged into\nthe django admin as a super user. This middleware lets you do just that. As you\nprobably understand this also poses a security risk. To minimize the chances of\nthis middleware automatically logging someone in as a super user in a\nproduction environment you will need to take some extra steps when installing.\n\n\nInstallation\n------------\nFirst you need enter the middleware in your setting file, it needs to be at\nsome line after the\n``django.contrib.auth.middleware.AuthenticationMiddleware``::\n\n MIDDLEWARE = (\n ...\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'superuser.middleware.SuperUserMiddleware',\n ...\n )\n\n\nYou also need to have your IP listed in ``INTERNAL_IPS``, for example::\n\n INTERNAL_IPS = ('127.0.0.1',)\n\n\nLastly you need to make sure ``DEBUG = True`` in your settings file for the middleware to work.\n\n\nNotes\n-----\nNote that the login page (usually ``/admin/login/``) does not log you in\nautomatically as a super user, this is so that you can login as a different\nuser if you like. If you want to be logged in as a super user, just navigate\nto any other admin view, for example ``/admin/``.\n\n\nDjango version < 1.10\n---------------------\nIf you are using Django version < 1.10 you need to use the old style middleware\nclasses and you need install django-supervisor version < 0.2.0. Please set up\nmiddleware like this instead after the line:\n``django.contrib.auth.middleware.AuthenticationMiddleware``::\n\n MIDDLEWARE_CLASSES = (\n ...\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'superuser.middleware.SuperUserMiddleware',\n ...\n )", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/sorl/django-superuser", "keywords": "", "license": "ICS", "maintainer": "", "maintainer_email": "", "name": "django-superuser", "package_url": "https://pypi.org/project/django-superuser/", "platform": "", "project_url": "https://pypi.org/project/django-superuser/", "project_urls": { "Homepage": "http://github.com/sorl/django-superuser" }, "release_url": "https://pypi.org/project/django-superuser/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "Middleware that gives you super powers.", "version": "0.2.3" }, "last_serial": 4603561, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4e22945e0f11e1ff55927d9d50dc8e91", "sha256": "c3c1dacf3f436a8de7410f27eb2b5e08df8641fa5970d743c0ae082be06c54cf" }, "downloads": -1, "filename": "django-superuser-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4e22945e0f11e1ff55927d9d50dc8e91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3245, "upload_time": "2015-04-12T21:42:50", "url": "https://files.pythonhosted.org/packages/44/01/dd3978fec8ebf6840c2867766d1735845c39763226f10275b5c5fb0d24ee/django-superuser-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a0cb649a041bd8b2135f2357baf58387", "sha256": "b827dd22f461ac2f246ddabf172a2d1f094857c7180c924792a5bb2b4136eaa8" }, "downloads": -1, "filename": "django-superuser-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a0cb649a041bd8b2135f2357baf58387", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3248, "upload_time": "2015-04-12T21:47:48", "url": "https://files.pythonhosted.org/packages/1c/92/e316ac7bfb7a68eaff28f6e7eb0f1248644be6e617783e830ca519245928/django-superuser-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "081a901ce7903fefce8dd731f55bd6ae", "sha256": "8426050f3903816c932e17b7a6793389217b504ae431a0f54bcdd53277a81cb8" }, "downloads": -1, "filename": "django-superuser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "081a901ce7903fefce8dd731f55bd6ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2937, "upload_time": "2015-04-15T13:44:42", "url": "https://files.pythonhosted.org/packages/bd/72/bb53e00282037fd5fbaf9c452a9dd4303f3c9d701c571d9484c2980c1ecd/django-superuser-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "599356cddff930fdcf4d13f824dbc7ac", "sha256": "daff037b03aab00013560defb184a5a678d034167fde0b0ad3f09bd922cc3a2a" }, "downloads": -1, "filename": "django-superuser-0.2.0.tar.gz", "has_sig": false, "md5_digest": "599356cddff930fdcf4d13f824dbc7ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3082, "upload_time": "2016-11-22T20:57:52", "url": "https://files.pythonhosted.org/packages/6a/c2/eea1938a8faaae5df5b0b8a2c9ea7b8a7b6ee676c6d8c1356179d4079b43/django-superuser-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "da72d3b2b8404a4514db3594ab0d56f1", "sha256": "a61ce0ea4e397ae205bab0b4c2e7374209ede00e845bcea096dbfdee558d14b4" }, "downloads": -1, "filename": "django-superuser-0.2.1.tar.gz", "has_sig": false, "md5_digest": "da72d3b2b8404a4514db3594ab0d56f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3086, "upload_time": "2016-11-22T21:18:36", "url": "https://files.pythonhosted.org/packages/be/8f/57a1682a26ced8348c5372988ac9b9008b97eb87f7c0c4de13446f4cd8af/django-superuser-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "35ccfdbb4e0e6364f3ade12e69bdee36", "sha256": "7b98fd0a969b7b1e535f19bfcb40e4d337de60bc9773690114eff6cc39439978" }, "downloads": -1, "filename": "django-superuser-0.2.2.tar.gz", "has_sig": false, "md5_digest": "35ccfdbb4e0e6364f3ade12e69bdee36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3060, "upload_time": "2016-11-22T23:23:44", "url": "https://files.pythonhosted.org/packages/b9/56/dadc6e24eb2f5a4f787f015771c12f4d66cb7fed3be2cc437c4b1c8b4b8a/django-superuser-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "bc3c0ec0b443201bd20a766dbc666ed1", "sha256": "2fdafcc14807bbdc887175c558e342e57ec09e1987c655839ee028f3dd3dab54" }, "downloads": -1, "filename": "django-superuser-0.2.3.tar.gz", "has_sig": false, "md5_digest": "bc3c0ec0b443201bd20a766dbc666ed1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3121, "upload_time": "2018-12-15T20:34:17", "url": "https://files.pythonhosted.org/packages/73/8f/e38901d3c1b7ec929cb5601154b5d7815f2e46f24eb2aadc0e5dbf9879db/django-superuser-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bc3c0ec0b443201bd20a766dbc666ed1", "sha256": "2fdafcc14807bbdc887175c558e342e57ec09e1987c655839ee028f3dd3dab54" }, "downloads": -1, "filename": "django-superuser-0.2.3.tar.gz", "has_sig": false, "md5_digest": "bc3c0ec0b443201bd20a766dbc666ed1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3121, "upload_time": "2018-12-15T20:34:17", "url": "https://files.pythonhosted.org/packages/73/8f/e38901d3c1b7ec929cb5601154b5d7815f2e46f24eb2aadc0e5dbf9879db/django-superuser-0.2.3.tar.gz" } ] }