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 = (
...
'django.contrib.auth', # Required by 'fd_dj_accounts'.
'django.contrib.contenttypes', # Required by 'django.contrib.auth'.
...
'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:
make install-dev
Run test suite for all supported Python versions and run tools for code style analysis, static type check, etc:
make test-all make lint
(same as above, but with Docker Compose):
make docker-compose-run-test
Check code coverage of tests:
make test-coverage make test-coverage-report-console
Credits
Tools used in rendering this package:
Metadata
Release files for fyndata-django-accounts 0.20.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fyndata_django_accounts-0.20.0.tar.gz | 18.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fyndata_django_accounts-0.20.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / fyndata_django_accounts-0.20.0.tar.gz
| Download URL | fyndata_django_accounts-0.20.0.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e815a664479b6e8c643015d8c967f3daab7bc69eee16665839d8d3eda6c5fd0
|
|
BLAKE2b-256 checksum How to use checksums |
4abb2cf1e037028c43e3589ed2536c1ad996e448c25069710bcdec8836ab35a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.20
|
Release files / fyndata_django_accounts-0.20.0-py3-none-any.whl
| Download URL | fyndata_django_accounts-0.20.0-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb59db5d10e14980fd4f10f833c9127e5cd4a5d0a6c73832f9e9010594993a0b
|
|
BLAKE2b-256 checksum How to use checksums |
dabfa73792589725f5c9df79d4658829615a571a4af527448c31aeea9ca17bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.20
|