Skip to main content
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 Code Climate maintainability Documentation

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)

Source distribution for fyndata-django-accounts 0.20.0
File Size Uploaded
fyndata_django_accounts-0.20.0.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fyndata-django-accounts 0.20.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.20.0 This release

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page