Metadata-Version: 2.1
Name: fyndata-django-accounts
Version: 0.1.2
Summary: Reusable Django app to replace the default Django user (account) model.
Home-page: https://github.com/fyndata/fyndata-django-accounts
Author: Fyndata (Fynpal SpA)
Author-email: no-reply@fyndata.com
License: MIT
Keywords: fyndata-django-accounts
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 2.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6, <3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: Django>=2.1

=============================
FD Django Accounts
=============================

.. image:: https://img.shields.io/pypi/v/fyndata-django-accounts.svg
    :target: https://pypi.python.org/pypi/fyndata-django-accounts
    :alt: PyPI package version

.. image:: https://img.shields.io/pypi/pyversions/fyndata-django-accounts.svg
    :target: https://pypi.python.org/pypi/fyndata-django-accounts
    :alt: Python versions

.. image:: https://img.shields.io/pypi/l/fyndata-django-accounts.svg
    :target: https://pypi.python.org/pypi/fyndata-django-accounts
    :alt: 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
-------------

.. image:: https://circleci.com/gh/fyntex/fd-django-accounts/tree/develop.svg?style=shield
    :target: https://circleci.com/gh/fyntex/fd-django-accounts/tree/develop
    :alt: CI status

.. image:: https://codecov.io/gh/fyntex/fd-django-accounts/branch/develop/graph/badge.svg
    :target: https://codecov.io/gh/fyntex/fd-django-accounts
    :alt: Code coverage

.. image:: https://api.codeclimate.com/v1/badges/30ac22150dbf8549b989/maintainability
    :target: https://codeclimate.com/github/fyntex/fd-django-accounts/maintainability
    :alt: Code Climate maintainability

.. image:: https://readthedocs.org/projects/fyndata-django-accounts/badge/?version=latest
    :target: https://fyndata-django-accounts.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation

Quickstart
----------

Install FD Django Accounts::

    pip install fyndata-django-accounts

Add it to your ``INSTALLED_APPS``:

.. code-block:: python

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

Set the following Django standard settings:

.. code-block:: python

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

and the following settings created by this app:

.. code-block:: python

    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:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




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.
