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.

Source Distribution

django-sb-admin-2-auth-0.1.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

django_sb_admin_2_auth-0.1.0-py2.py3-none-any.whl (16.2 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-sb-admin-2-auth-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-sb-admin-2-auth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7449061340ab80d7e5a01e6a533de082019c324723d0b9b3fa3cdbf253eb039c
MD5 0f8a06f50fde25af2186f8edf0bd0db9
BLAKE2b-256 df35b7b38f913dce9d09722fe714b020fd85470374decd05da45ac5335f27598

See more details on using hashes here.

File details

Details for the file django_sb_admin_2_auth-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_sb_admin_2_auth-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 681f815f2629cc0dfb0a28d106f35a0b0836aaabe8d3e1e04cbdd571bef46c38
MD5 a44eb54cf2ffc06524ad358c94ea2220
BLAKE2b-256 9aafd76788edba4f9fdd32f514b6a32f779b03a15067567c1d01e9d29284b898

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page