{ "info": { "author": "Georgy Bazhukov", "author_email": "georgy.bazhukov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "django-custom-anonymous\n=======================\n\n.. figure:: https://travis-ci.org/bugov/django-custom-anonymous.svg?branch=master\n\nLibrary provides customization of AnonymousUser.\n\nWorks with Python >= 2.6, >= 3.2, Django >= 1.5, >= 2.0.\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install django-custom-anonymous\n\n\nCustomization\n-------------\n\nAdd to `settings`:\n\n.. code:: python\n\n AUTH_ANONYMOUS_MODEL = 'your_app.module.CustomAnonymousUser'\n\n\nAdd to middlewares:\n\n.. code:: python\n\n MIDDLEWARE = (\n ...\n 'custom_anonymous.middleware.AuthenticationMiddleware',\n ...\n )\n\n\nCreate your own anonymous (for example):\n\n.. code:: python\n\n from django.contrib.auth.models import AnonymousUser as DjangoAnonymousUser\n ...\n class CustomAnonymousUser(DjangoAnonymousUser):\n ip = None\n\n def __init__(self, request):\n self.ip = request.META.get('REMOTE_ADDR')\n super(AnonymousUser, self).__init__()", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bugov/django-custom-anonymous", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-custom-anonymous", "package_url": "https://pypi.org/project/django-custom-anonymous/", "platform": "", "project_url": "https://pypi.org/project/django-custom-anonymous/", "project_urls": { "Homepage": "https://github.com/bugov/django-custom-anonymous" }, "release_url": "https://pypi.org/project/django-custom-anonymous/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "Library provides customization of AnonymousUser in Django", "version": "0.5.0" }, "last_serial": 5556139, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6c5fba29f07789c3378d72ee33811608", "sha256": "c0dcf305d5e5ff1ec9442e26f398e008d803c8b47b33f98153b6d03b5b3dcf62" }, "downloads": -1, "filename": "django-custom-anonymous-0.1.tar.gz", "has_sig": false, "md5_digest": "6c5fba29f07789c3378d72ee33811608", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1837, "upload_time": "2017-05-12T10:19:17", "url": "https://files.pythonhosted.org/packages/4e/1f/49e417abfe781f045625698ee169c395682b7f02515fe6cd7dcd300a7d64/django-custom-anonymous-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "44d69120395b98d1b8c9f5d4b12385df", "sha256": "e0567ec71b4895ffdaaadfa3f34ceac662a3e23fb6b1cf3cb00f20b71f3fb357" }, "downloads": -1, "filename": "django-custom-anonymous-0.2.tar.gz", "has_sig": false, "md5_digest": "44d69120395b98d1b8c9f5d4b12385df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2135, "upload_time": "2017-05-12T11:03:40", "url": "https://files.pythonhosted.org/packages/ed/60/af0f9ab986943296a8f21283f309401c37d972e359dd7bd87d5eeedf741a/django-custom-anonymous-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "657e16da3a49ad22d69832e1658497db", "sha256": "fe1a0fbbf5f5020ab6361b911d642954e7fb92433ac2de5ad533854e94d55391" }, "downloads": -1, "filename": "django-custom-anonymous-0.3.tar.gz", "has_sig": false, "md5_digest": "657e16da3a49ad22d69832e1658497db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2152, "upload_time": "2018-02-02T07:15:53", "url": "https://files.pythonhosted.org/packages/25/42/19f7fa801fa78fe9d20a5838de8582017430e7978ffcb6cb674a8a23cf3b/django-custom-anonymous-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "ba206bb184ee2ebd9faf54488f4ef309", "sha256": "8dcd09b82de5d1a594b0f03f2943705cfa40e22a28056ed13543ab014fc05843" }, "downloads": -1, "filename": "django-custom-anonymous-0.4.tar.gz", "has_sig": false, "md5_digest": "ba206bb184ee2ebd9faf54488f4ef309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2193, "upload_time": "2018-02-26T06:22:50", "url": "https://files.pythonhosted.org/packages/70/ca/cef6220d62de5ba37b0c971948c787704752cad5a14a1a610709e65a811f/django-custom-anonymous-0.4.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "08b6905db1319ffbd7dc81397de24961", "sha256": "8aeca8f07f6534be0fedb7255d1bb053e22de7380654e8a4a98604b08d57e362" }, "downloads": -1, "filename": "django-custom-anonymous-0.5.0.tar.gz", "has_sig": false, "md5_digest": "08b6905db1319ffbd7dc81397de24961", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2365, "upload_time": "2019-07-19T12:22:10", "url": "https://files.pythonhosted.org/packages/5b/26/3ab8318be8e9d7c4928093353ab2356fec62a054117c09e56bd00cad866d/django-custom-anonymous-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "08b6905db1319ffbd7dc81397de24961", "sha256": "8aeca8f07f6534be0fedb7255d1bb053e22de7380654e8a4a98604b08d57e362" }, "downloads": -1, "filename": "django-custom-anonymous-0.5.0.tar.gz", "has_sig": false, "md5_digest": "08b6905db1319ffbd7dc81397de24961", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2365, "upload_time": "2019-07-19T12:22:10", "url": "https://files.pythonhosted.org/packages/5b/26/3ab8318be8e9d7c4928093353ab2356fec62a054117c09e56bd00cad866d/django-custom-anonymous-0.5.0.tar.gz" } ] }