Skip to main content

startbootstrap-sb-admin-2 based theme for django-allauth

Project description

django-sb-admin-2-auth

django-sb-admin-2-auth is a theme for django-allauth based on startbootstrap-sb-admin-2

Installation

Go through https://django-allauth.readthedocs.io/en/latest/installation.html.

Add sb_admin_2_auth urls instead of allauth's:

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

Configuration

For allauth settings see https://django-allauth.readthedocs.io/en/latest/configuration.html.

Additional settings:

ACCOUNT_NAME_REQUIRED (=False)

The user is required to hand over a first and last name when signing up.

ACCOUNT_FIRST_NAME_MIN_LENGTH (=1)

An integer specifying the minimum allowed length of a first name.

ACCOUNT_LAST_NAME_MIN_LENGTH (=1)

An integer specifying the minimum allowed length of a last name.

Providers

Social accounts are not being currently supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-sb-admin-2-auth, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_sb_admin_2_auth-0.1.0-py2.py3-none-any.whl (16.2 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-sb-admin-2-auth-0.1.0.tar.gz (5.2 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page