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.3 (2020-09-15)
(PR #40, 2020-09-15) config: Add PyPI package uploading to CI
(PR #36, 2020-09-15) build(deps): bump tox from 3.7.0 to 3.20.0
(PR #24, 2020-09-15) build(deps): bump twine from 1.13.0 to 3.2.0
(PR #39, 2020-09-15) build(deps): bump setuptools from 40.8.0 to 50.3.0
(PR #23, 2020-07-15) build(deps): bump flake8 from 3.7.6 to 3.8.3
(PR #21, 2020-07-13) build(deps): bump mypy from 0.780 to 0.782
(PR #18, 2020-07-13) build(deps): bump wheel from 0.33.1 to 0.34.2
(PR #22, 2020-07-09) config: Verify Python dependency compatibility in CI
(PR #19, 2020-07-08) build(deps): bump codecov from 2.0.15 to 2.1.7
(PR #17, 2020-07-07) build(deps): bump coverage from 4.5.2 to 5.2
(PR #16, 2020-07-07) config: Add configuration for GitHub Dependabot
(PR #15, 2020-06-18) config: Upgrade PostgreSQL to v12.3
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57822ba30dce54cc9625cd14cd1364e71fad2afcec9b40e65e9686bd45fcfa7e |
|
MD5 | 45b8ef1e6d2b794b5913f7eedc035c64 |
|
BLAKE2b-256 | 874169d79220f45c8f614ac1a790a40712eca27d6fc5fe4212e25192b7c9997c |
Hashes for fyndata_django_accounts-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb755516fd79224a762352e5c7a67faae58c4600a11dea641b9deaf04db63600 |
|
MD5 | ca7ef1534d5dd49d51ce1e977d59a3e8 |
|
BLAKE2b-256 | 8f34df79e49f8c78779ade88a938a5fa27faf4875a78bb609f2c6d59e9406a29 |