Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Reusable Django app to replace the default Django user (account) model.

Project description

PyPI package version Python versions License

Reusable Django app to replace the default Django user (account) model.

Documentation

The full documentation is at https://fyndata-django-accounts.readthedocs.io.

Status

CI status Code coverage Documentation

Quickstart

Install Fyndata Django Accounts:

pip install fyndata-django-accounts

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'fd_dj_accounts',
    ...
)

Set the following Django standard settings:

AUTHENTICATION_BACKENDS = [
    'fd_dj_accounts.auth_backends.AuthUserModelAuthBackend',
]
AUTH_USER_MODEL = 'fd_dj_accounts.User'

and the following settings created by this app:

APP_ACCOUNTS_SYSTEM_USERNAME = 'accounts-system-user@localhost'  # arbitrary value

Features

  • TODO

Developers

See ‘CONTRIBUTING.rst’.

Tests

Requirements:

pip install -r requirements_test.txt

Run test suite for all supported Python versions and run tools for code style analysis, static type check, etc:

make test-all
make lint

Check code coverage of tests:

make test-coverage
make test-coverage-report-console

Credits

Tools used in rendering this package:

History

unreleased (YYYY-MM-DD)

0.1.1 (2019-02-21)

  • setup: fix missing package data files

0.1.0 (2019-02-21)

  • First implementation.
  • First release on PyPI.

Project details


Download files

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

Files for fyndata-django-accounts, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size fyndata_django_accounts-0.1.1-py3-none-any.whl (14.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fyndata-django-accounts-0.1.1.tar.gz (14.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page