{ "info": { "author": "Mishbah Razzaque", "author_email": "mishbahx@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Framework :: Django :: 1.11", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\ndjango-users2\n=============================\n\n.. image:: http://img.shields.io/travis/mishbahr/django-users2.svg?style=flat-square\n :target: https://travis-ci.org/mishbahr/django-users2/\n\n.. image:: http://img.shields.io/pypi/v/django-users2.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-users2/\n :alt: Latest Version\n\n.. image:: http://img.shields.io/pypi/dm/django-users2.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-users2/\n :alt: Downloads\n\n.. image:: http://img.shields.io/pypi/l/django-users2.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-users2/\n :alt: License\n\n.. image:: http://img.shields.io/coveralls/mishbahr/django-users2.svg?style=flat-square\n :target: https://coveralls.io/r/mishbahr/django-users2?branch=master\n\n\nCustom user model for django >=1.5 with support for multiple user types and\nlots of other awesome utils (mostly borrowed from other projects). If you are\nusing django < 1.11, please install v0.2.1 or earlier (`pip install\ndjango-users2<=0.2.1`).\n\nFeatures\n--------\n\n* email as username for authentication (barebone extendable user models)\n* support for multiple user types (using the awesome django-model-utils)\n* automatically creates superuser after syncdb/migrations (really handy during the initial development phases)\n* built in emails/passwords validators (with lots of customisable options)\n* prepackaged with all the templates, including additional templates required by views in ``django.contrib.auth`` (for a painless signup process)\n\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-users2.readthedocs.org.\n\nQuickstart\n----------\n\n1. Install `django-users2`::\n\n pip install django-users2\n\n2. Add `django-users2` to `INSTALLED_APPS`::\n\n INSTALLED_APPS = (\n ...\n 'django.contrib.auth',\n \t'django.contrib.sites',\n 'users',\n ...\n )\n\n3. Set your `AUTH_USER_MODEL` setting to use ``users.User``::\n\n AUTH_USER_MODEL = 'users.User'\n\n4. Once you\u2019ve done this, run the ``migrate`` command to install the model used by this package::\n\n python manage.py migrate\n\n5. Add the `django-users2` URLs to your project\u2019s URLconf as follows::\n\n urlpatterns = patterns('',\n ...\n url(r'^accounts/', include('users.urls')),\n ...\n )\n\nwhich sets up URL patterns for the views in django-users2 as well as several useful views in django.contrib.auth (e.g. login, logout, password change/reset)\n\n\nConfiguration\n-----------------------\nSet ``USERS_VERIFY_EMAIL = True`` to enable email verification for registered users. \n\nWhen a new ``User`` object is created, with its ``is_active`` field set to ``False``, an activation key is generated, and an email is sent to the user containing a link to click to activate the account::\n\n USERS_VERIFY_EMAIL = False\n\nUpon clicking the activation link, the new account is made active (i.e. ``is_active`` field is set to ``True``); after this, the user can log in. Optionally, you can automatically login the user after successful activation::\n \n USERS_AUTO_LOGIN_ON_ACTIVATION = True\n\nThis is the number of days the users will have, to activate their accounts after registering:: \n\n USERS_EMAIL_CONFIRMATION_TIMEOUT_DAYS = 3\n\nAutomatically create django ``superuser`` after ``syncdb``, by default this option is enabled when ``settings.DEBUG = True``. \n\nYou can customise the email/password by overriding ``USERS_SUPERUSER_EMAIL`` and ``USERS_SUPERUSER_PASSWORD`` settings (highly recommended)::\n\n USERS_CREATE_SUPERUSER = settings.DEBUG\n USERS_SUPERUSER_EMAIL = 'superuser@djangoproject.com'\n USERS_SUPERUSER_PASSWORD = 'django' \n\nPrevent automated registration by spambots, by enabling a hidden (using css) honeypot field::\n\n USERS_SPAM_PROTECTION = True\n\nPrevent user registrations by setting ``USERS_REGISTRATION_OPEN = False``::\n\n\tUSERS_REGISTRATION_OPEN = True\n\n\nSettings for validators, that check the strength of user specified passwords::\n \n # Specifies minimum length for passwords:\n USERS_PASSWORD_MIN_LENGTH = 5\n\n #Specifies maximum length for passwords:\n USERS_PASSWORD_MAX_LENGTH = None\n\t\nOptionally, the complexity validator, checks the password strength::\n\n\tUSERS_CHECK_PASSWORD_COMPLEXITY = True\n\nSpecify number of characters within various sets that a password must contain::\n\n\tUSERS_PASSWORD_POLICY = {\n\t\t'UPPER': 0, # Uppercase 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n\t\t'LOWER': 0, # Lowercase 'abcdefghijklmnopqrstuvwxyz'\n\t\t'DIGITS': 0, # Digits '0123456789'\n\t\t'PUNCTUATION': 0 # Punctuation \"\"\"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\"\"\"\n\t}\n\nAllow/disallow registration using emails addresses from specific domains::\n \n USERS_VALIDATE_EMAIL_DOMAIN = True\n\nList of disallowed domains::\n\n USERS_EMAIL_DOMAINS_BLACKLIST = []\n\nFor example, ``USERS_EMAIL_DOMAINS_BLACKLIST = ['mailinator.com']`` will block all visitors from using mailinator.com email addresses to register.\n \nList of allowed domains::\n\n USERS_EMAIL_DOMAINS_WHITELIST = []\n\nFor example, ``USERS_EMAIL_DOMAINS_WHITELIST = ['ljworld.com']`` will only allow user registration with ljworld.com domains.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mishbahr/django-users2", "keywords": "django-users2", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-users2", "package_url": "https://pypi.org/project/django-users2/", "platform": "", "project_url": "https://pypi.org/project/django-users2/", "project_urls": { "Homepage": "https://github.com/mishbahr/django-users2" }, "release_url": "https://pypi.org/project/django-users2/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Custom user model for django >=1.11 with support for multiple user types", "version": "0.2.2" }, "last_serial": 3803332, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2a7bffc7b58579e90d53fc46f023cb5a", "sha256": "b5b7901cd6579a196b93ac4905afda00d0febfe1ba25e12a90ca28915968a888" }, "downloads": -1, "filename": "django-users2-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2a7bffc7b58579e90d53fc46f023cb5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17095, "upload_time": "2014-08-24T23:07:19", "url": "https://files.pythonhosted.org/packages/1e/0e/729d7c54bf36886a8f935678fd3b8e5b1bc3e60c0aa7aea7f8032c3b05e9/django-users2-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0c82a2f7525c3a9b7f86d1b55b2f7217", "sha256": "eeda5ef27a52e8268b90cd2d17a2ecabd8ce3c975f19cd1680ef22d19dfc991b" }, "downloads": -1, "filename": "django-users2-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0c82a2f7525c3a9b7f86d1b55b2f7217", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15726, "upload_time": "2014-08-25T10:25:04", "url": "https://files.pythonhosted.org/packages/f8/33/84cc3dc1b9f15e4ec471ca2de8ecbae28a76aa1a4db1793090ba8d5fec6e/django-users2-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "3f5df84c2c1aa61117c50f8ea84a3f34", "sha256": "b2064d4a3c5069bc0e69529a8d5a8c1e4eb4c0ae659d925400cf8084701e02d0" }, "downloads": -1, "filename": "django-users2-0.1.10.tar.gz", "has_sig": false, "md5_digest": "3f5df84c2c1aa61117c50f8ea84a3f34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16661, "upload_time": "2014-09-01T10:57:37", "url": "https://files.pythonhosted.org/packages/2e/6d/2d8f0e8075ced2a015721c05118e747055fb665f74f936382af76665db05/django-users2-0.1.10.tar.gz" } ], "0.1.11": [ { "comment_text": "", "digests": { "md5": "b4beb572731b6a5fa1e74ff8e6d15ad4", "sha256": "bc5d66f8f5774de370176fc047571167fcdb0f599cf3ccd921e80e17eaa983d3" }, "downloads": -1, "filename": "django-users2-0.1.11.tar.gz", "has_sig": false, "md5_digest": "b4beb572731b6a5fa1e74ff8e6d15ad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16654, "upload_time": "2014-09-01T22:56:05", "url": "https://files.pythonhosted.org/packages/d8/53/b683a2fc799c6b4e440c1b08104d150a2f5bedbe896b46eccc4ab5dab1c4/django-users2-0.1.11.tar.gz" } ], "0.1.12": [ { "comment_text": "", "digests": { "md5": "ac37e94531b92aa5c95b17d08544a683", "sha256": "202346e3b6e186bc8286c763030c3dd13c54d32295385671655144f655c5b8ea" }, "downloads": -1, "filename": "django-users2-0.1.12.tar.gz", "has_sig": false, "md5_digest": "ac37e94531b92aa5c95b17d08544a683", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16983, "upload_time": "2014-09-18T00:15:05", "url": "https://files.pythonhosted.org/packages/d2/16/74d14f30fd51cda94dd16949ed8d304c3256cb9277e90e052a07c2510597/django-users2-0.1.12.tar.gz" } ], "0.1.13": [ { "comment_text": "", "digests": { "md5": "eda64a64b2e321583a0c10919ad12419", "sha256": "d5a0267ee6e5e537d6e781e703c00cade8768c9c88de084a8b459aa95de4d188" }, "downloads": -1, "filename": "django-users2-0.1.13.tar.gz", "has_sig": false, "md5_digest": "eda64a64b2e321583a0c10919ad12419", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16924, "upload_time": "2014-11-09T22:21:58", "url": "https://files.pythonhosted.org/packages/79/b1/ddf1843842be50040bf17d9e1b7f7eace3728a6e21abac92207689e28a1b/django-users2-0.1.13.tar.gz" } ], "0.1.14": [ { "comment_text": "", "digests": { "md5": "6d74d1838f138193289f26af9efa131c", "sha256": "450e05f27df8d9b1abf050d06e80fe7a6b91db4cae5c9a1b6f893173eb5b597b" }, "downloads": -1, "filename": "django-users2-0.1.14.tar.gz", "has_sig": false, "md5_digest": "6d74d1838f138193289f26af9efa131c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17764, "upload_time": "2015-04-24T10:10:18", "url": "https://files.pythonhosted.org/packages/36/ab/644c5de79edfcb5b35b863d1e97ea7f22dcd7e9d0b381596e93d83476777/django-users2-0.1.14.tar.gz" } ], "0.1.15": [ { "comment_text": "", "digests": { "md5": "9c3dc896424c303a5dfd6221f2ad146e", "sha256": "ab267a2a5dec5c2082db01e3f70fef27d9b348db1fd15334255b5a9208f1c6df" }, "downloads": -1, "filename": "django-users2-0.1.15.tar.gz", "has_sig": false, "md5_digest": "9c3dc896424c303a5dfd6221f2ad146e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17837, "upload_time": "2015-12-31T15:30:25", "url": "https://files.pythonhosted.org/packages/8a/5c/0cf5c89b59df9b74f8823462e4790543f22b166fc2c19d1c40804818b3e2/django-users2-0.1.15.tar.gz" } ], "0.1.16": [ { "comment_text": "", "digests": { "md5": "245c93f4d15ff9b050785eebf429990a", "sha256": "f38c491508653a1408cdf655235404f152fbebcc713232defac0269ab9993626" }, "downloads": -1, "filename": "django-users2-0.1.16.tar.gz", "has_sig": false, "md5_digest": "245c93f4d15ff9b050785eebf429990a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17857, "upload_time": "2016-01-10T18:44:12", "url": "https://files.pythonhosted.org/packages/d5/3f/e25929abd38b3e326d622ad39ee12080a410b1e8304d8c8b2836c4d56310/django-users2-0.1.16.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "292f7fe6e22159bd6b270871f44516da", "sha256": "11b6f67cdecf95c2d4cdab016d8e1c6a8ef05b0efc1b3e6ed79511d28d715878" }, "downloads": -1, "filename": "django-users2-0.1.2.tar.gz", "has_sig": false, "md5_digest": "292f7fe6e22159bd6b270871f44516da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15734, "upload_time": "2014-08-25T11:26:13", "url": "https://files.pythonhosted.org/packages/e7/2d/0cd7cbe9d16935f6a4418837c439343d4dde749fe3fd77963d792824ebec/django-users2-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9c2c7c45c7848344d5704681918bcaa1", "sha256": "897090d328f4fbdf8d543537e259c17b13d56afb18f935cab7aa0d8f45c50a0b" }, "downloads": -1, "filename": "django-users2-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9c2c7c45c7848344d5704681918bcaa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16692, "upload_time": "2014-08-25T17:30:39", "url": "https://files.pythonhosted.org/packages/2b/3e/4d92d109eb5024529efded258847663723c0a8bf765def7beac90637b08c/django-users2-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "323735f212e7e74847927c0f27c29560", "sha256": "dead2411a1450186524f4a9e4220009585cb10bccac41f1ee5ea2d3f047c944b" }, "downloads": -1, "filename": "django-users2-0.1.4.tar.gz", "has_sig": false, "md5_digest": "323735f212e7e74847927c0f27c29560", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16688, "upload_time": "2014-08-26T13:26:53", "url": "https://files.pythonhosted.org/packages/3f/0f/fda44a5a18e680f78cc74d640ced693126e610448044a29768d24960ab4b/django-users2-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "6ccc7ed2b44f2c283353e1b7d8a29b89", "sha256": "42ecbbb0586a78db9dd2b84b14b4d333fe463fd4487a3b90785c4c3ada2d12f8" }, "downloads": -1, "filename": "django-users2-0.1.5.tar.gz", "has_sig": false, "md5_digest": "6ccc7ed2b44f2c283353e1b7d8a29b89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16725, "upload_time": "2014-08-28T21:33:15", "url": "https://files.pythonhosted.org/packages/b3/c2/fe51d44732ae88c39e72faf039d5f78cf1485433422dd54315caec94e7ab/django-users2-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "8f46a9a3c97bf1f0e85edc6767d670eb", "sha256": "9525df614a05797b707802e2443aab2ec7a5b7c44987a975d0b3b36e49cbe21f" }, "downloads": -1, "filename": "django-users2-0.1.6.tar.gz", "has_sig": false, "md5_digest": "8f46a9a3c97bf1f0e85edc6767d670eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16717, "upload_time": "2014-08-30T01:20:44", "url": "https://files.pythonhosted.org/packages/33/03/8d758cfecd8adfb75ef0271e4fbdc34f8df142a8fdb4edebfc637275c39d/django-users2-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "25614da94fdb3a55e33d523c49ce1843", "sha256": "7d19c119814d7c03d008289dc4bd45dffa1ef96076ec0d1efd98889ca6f91169" }, "downloads": -1, "filename": "django-users2-0.1.7.tar.gz", "has_sig": false, "md5_digest": "25614da94fdb3a55e33d523c49ce1843", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16710, "upload_time": "2014-08-30T01:24:01", "url": "https://files.pythonhosted.org/packages/a1/16/5021ff45a6e073b7077664b91c4b037523032293c2128947c624bcde255d/django-users2-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "87c7e43bbd4ba6928b1cf7660574b492", "sha256": "db157a296dc49bc048a89b26282417b1effe44b759409940a2858c4c8f1fa18b" }, "downloads": -1, "filename": "django-users2-0.1.8.tar.gz", "has_sig": false, "md5_digest": "87c7e43bbd4ba6928b1cf7660574b492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16732, "upload_time": "2014-08-30T01:37:07", "url": "https://files.pythonhosted.org/packages/2d/5f/86a483db3a9baf10d30014b8db3322d107598681f33f68170fd195167298/django-users2-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "2c383787e518c2c75ece2b58fe207fc0", "sha256": "1f183af8e3e25bac02cb79d3535c21273463ceefb6e8dc6e6ed25bfaf2cd5adc" }, "downloads": -1, "filename": "django-users2-0.1.9.tar.gz", "has_sig": false, "md5_digest": "2c383787e518c2c75ece2b58fe207fc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16709, "upload_time": "2014-08-30T19:31:08", "url": "https://files.pythonhosted.org/packages/da/93/b3983875b66c847e0635648bae49a6d56b25035c3b61bff51e9f72718ab6/django-users2-0.1.9.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ed867decd1834ced81ab452481a88255", "sha256": "76e29535ba39411e7f1e413bedc3bf625dd3b611afc3a318943ff8067e31745d" }, "downloads": -1, "filename": "django-users2-0.2.tar.gz", "has_sig": false, "md5_digest": "ed867decd1834ced81ab452481a88255", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17697, "upload_time": "2016-09-08T23:10:12", "url": "https://files.pythonhosted.org/packages/a7/9e/acd188b488fd17483ad523f35346bb1a3993c57b4cdcd84906aa6936897a/django-users2-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cc2a2eecbb18248925416ffbc84ca126", "sha256": "4b7eb12530a45df0a5195af52e6143f8bb0b79e1127ddc90db50009e28c96b0e" }, "downloads": -1, "filename": "django-users2-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cc2a2eecbb18248925416ffbc84ca126", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17757, "upload_time": "2016-09-08T23:27:14", "url": "https://files.pythonhosted.org/packages/65/fb/b5901d792ce2c225f6084cc0300d22253d71c30e0e0cb9c48493de135b04/django-users2-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "ec6c93811ba393b22d3ead466cb00041", "sha256": "20926d91c386d43a0b6ed1badb26dea892532f1cc95260c423ad27e7b6ef6b42" }, "downloads": -1, "filename": "django-users2-0.2.2.tar.gz", "has_sig": false, "md5_digest": "ec6c93811ba393b22d3ead466cb00041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19539, "upload_time": "2018-04-24T15:25:35", "url": "https://files.pythonhosted.org/packages/90/4a/c8001004ca7dc9fb0609e163ee3d6da1c602cfd70c3c3fe2473f37f4c677/django-users2-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec6c93811ba393b22d3ead466cb00041", "sha256": "20926d91c386d43a0b6ed1badb26dea892532f1cc95260c423ad27e7b6ef6b42" }, "downloads": -1, "filename": "django-users2-0.2.2.tar.gz", "has_sig": false, "md5_digest": "ec6c93811ba393b22d3ead466cb00041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19539, "upload_time": "2018-04-24T15:25:35", "url": "https://files.pythonhosted.org/packages/90/4a/c8001004ca7dc9fb0609e163ee3d6da1c602cfd70c3c3fe2473f37f4c677/django-users2-0.2.2.tar.gz" } ] }