Reusable Django app to replace the default Django user (account) model.
Project description
Reusable Django app to replace the default Django user (account) model.
Documentation
The full documentation is at https://fyndata-django-accounts.readthedocs.io.
Status
Quickstart
Install FD 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.2 (2020-06-08)
(PR #10, 2020-04-13) Update readme
(PR #11, 2020-06-08) config: Improve support for multiple Python versions to CircleCI
(PR #12, 2020-06-08) Update test dependencies ‘mypy’ and ‘psycopg2’
(PR #13, 2020-06-08) Add Python 3.8 support
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fyndata-django-accounts-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d1f2fc60acaa9ac0efef6642088694e16caa942488cb0ed9b811e20f2c6377 |
|
MD5 | d6f615822c83d0f06996c4edfd8b885e |
|
BLAKE2b-256 | 37b65192117216be1ed2651a67d7f8859789c145532ee73734092d8e45905e84 |
Hashes for fyndata_django_accounts-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4581fbf00f7131bee002dff331640572e9100666de21372bc26f647aba1e622d |
|
MD5 | 22edc4d7a5522c01de1d146b43c10f8c |
|
BLAKE2b-256 | 0ea31b36a22c806c5e4ea97c058f9e6dba88ebe3043bff28640d5354a82c12f6 |