{"id":16420465,"url":"https://github.com/dfunckt/django-emailauth","last_synced_at":"2026-03-07T01:35:32.328Z","repository":{"id":14766219,"uuid":"17487646","full_name":"dfunckt/django-emailauth","owner":"dfunckt","description":"Seamless email authentication for Django","archived":false,"fork":false,"pushed_at":"2016-10-07T10:03:40.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T18:45:42.149Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfunckt.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-06T18:17:31.000Z","updated_at":"2020-05-18T20:15:41.000Z","dependencies_parsed_at":"2022-07-22T06:48:01.437Z","dependency_job_id":null,"html_url":"https://github.com/dfunckt/django-emailauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfunckt/django-emailauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfunckt%2Fdjango-emailauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfunckt%2Fdjango-emailauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfunckt%2Fdjango-emailauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfunckt%2Fdjango-emailauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfunckt","download_url":"https://codeload.github.com/dfunckt/django-emailauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfunckt%2Fdjango-emailauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:28:06.143Z","updated_at":"2026-03-07T01:35:32.310Z","avatar_url":"https://github.com/dfunckt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-emailauth\n^^^^^^^^^^^^^^^^\n\n``emailauth`` provides seamless email-based authentication for Django. It\nleverages Django's own ``contrib.auth`` package, extending where appropriate.\n\n\nRequirements\n============\n\n``emailauth`` requires Django 1.5 or newer and Python 2.6/3.2 or newer.\n\n\nHow to install\n==============\n\nUsing pip::\n\n    $ pip install git+https://github.com/dfunckt/django-emailauth.git#egg=django-emailauth\n\nManually::\n\n    $ git clone https://github.com/dfunckt/django-emailauth.git\n    $ cd django-emailauth\n    $ python setup.py install\n\n\nHow to use\n==========\n\nMake sure you have ``django.contrib.auth`` and ``django.contrib.contenttypes``\nin your ``INSTALLED_APPS``. (See the Django documentation_ for more details).\n\nAdd ``emailauth`` to your ``INSTALLED_APPS``::\n\n    INSTALLED_APPS = (\n        # ...\n        'django.contrib.contenttypes',\n        'django.contrib.auth',\n        \n        'emailauth',\n        # ...\n    )\n\nOrder does not matter.\n\nSet ``AUTH_USER_MODEL`` in your settings::\n\n    AUTH_USER_MODEL = 'emailauth.User'\n\nIt's `important to note`_ that you must set ``AUTH_USER_MODEL`` *before*\ncreating any migrations or running ``manage.py migrate`` for the first time.\n\nRun ``migrate`` to create the database tables::\n\n    $ python manage.py migrate emailauth\n\nYou're done. Remember to always use `get_user_model()`_ when you need to\nreference the user model.\n\n.. _documentation: https://docs.djangoproject.com/en/1.7/topics/auth/\n.. _important to note: https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#substituting-a-custom-user-model\n.. _get_user_model(): https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#django.contrib.auth.get_user_model\n\n\nExtending ``emailauth``\n=======================\n\n``emailauth`` can be used either *standalone* as a direct replacement of\n``django.contrib.auth`` as described, or as a *base* to assist you with\nboilerplate in order to implement your own email-based user model.\n\n``emailauth`` provides both an abstract and a concrete user model. If you want\nto create your own email-based user model you should subclass\n``emailauth.models.AbstractUser``. For example, to add a ``phone`` field to\nyour user, you might do something like the following::\n\n    from django.db import models\n    from emailauth.models import AbstractUser\n    \n    class User(AbstractUser):\n        phone = models.CharField(max_length=15, blank=True)\n\nRemember to change ``AUTH_USER_MODEL`` to *your* user model in order to be\npicked up by Django::\n\n    AUTH_USER_MODEL = 'myapp.User'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfunckt%2Fdjango-emailauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfunckt%2Fdjango-emailauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfunckt%2Fdjango-emailauth/lists"}