Skip to main content

Django custom user

Project description

https://travis-ci.org/anthon-alindada/django_custom_auth_user.svg?branch=master https://codecov.io/gh/anthon-alindada/django_custom_auth_user/branch/master/graph/badge.svg

Django custom user model and abstract user model basic token authentication.

Documentation

The full documentation is at https://django_custom_auth_user.readthedocs.io.

Features

  • Custom user

  • Extendable abstract user

  • User registration service

  • Token authentication

  • Create auth token

  • Delete auth token

  • Query sets for User & AuthToken

Quickstart

Install Django custom user:

pip install django_custom_auth_user

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'custom_auth_user',
    ...
)

Set your AUTH_USER_MODEL setting to use custom_auth_user.User:

AUTH_USER_MODEL = 'custom_auth_user.User'

Create the database tables:

python manage.py migrate

Version 0.1 (2017-07-23)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-custom-auth-user-0.1.2.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

django_custom_auth_user-0.1.2-py2.py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page