Coder Social home page Coder Social logo

cordada / fd-django-accounts Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 281 KB

Reusable Django app to replace the default Django user (account) model

Home Page: https://fyndata-django-accounts.readthedocs.io

License: MIT License

Makefile 4.61% Python 95.08% JavaScript 0.31%
django-application django-user django-utilities python library

fd-django-accounts's Introduction

FD Django Accounts

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 = (
    ...
    '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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.