django-simple-account

Django simple account


Keywords
account, accounts, django, django-accounts, python, python3
License
Apache-2.0
Install
pip install django-simple-account==0.0.18

Documentation

Django simple account

GihHub Action GitHub last commit https://api.codacy.com/project/badge/Grade/45d420b488fd452cae355db78f7e1e96 Requirements Status pypi license

Requirements

  • Python 3.6+
  • A supported version of Django (currently 3.x)

Getting It

You can get Django simple account by using pip:

$ pip install django-simple-account

If you want to install it from source, grab the git repository from GitHub and run setup.py:

$ git clone git://github.com/kostya-ten/django_simple_account.git
$ cd django_simple_account
$ python setup.py install

Installation

To enable django_simple_account in your project you need to add it to INSTALLED_APPS in your projects settings.py

INSTALLED_APPS = (
    # ...
    'django_simple_account',
    # ...
)

Enable context_processors

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                # ....
                'django_simple_account.context_processors.settings',
            ],
        },
    },
]

Add urls.py in project

urlpatterns = [
    # ...
    path('accounts/', include('django_simple_account.urls')),
]