Skip to main content

Django template styling for django-allauth and django-oauth-toolkit.

Project description

django-auth-style

PyPI

django-auth-style provides Django template styling for django-allauth and django-oauth-toolkit.

Installation

django-allauth Support

To enable support for django-allauth, install with:

pip install django-allauth django-auth-style[allauth]

Then enable the Django app:

# settings.py
INSTALLED_APPS = [
    # Any project-local apps should come before "auth_style",
    # so templates can be overridden as needed
    'my_django_app.apps.MyDjangoAppConfig',
    ...,
    'auth_style',
    ...,
    # "allauth" must come after "auth_style"
    'allauth',
    'allauth.account',
    'allauth.socialaccount',
]

django-oauth-toolkit Support

To enable support for django-oauth-toolkit, install with:

pip install django-oauth-toolkit django-auth-style[oauth-toolkit]

Then enable the Django app:

# settings.py
INSTALLED_APPS = [
    # Any project-local apps should come before "auth_style",
    # so templates can be overridden as needed
    'my_django_app.apps.MyDjangoAppConfig',
    ...,
    'auth_style',
    ...,
    # "oauth2_provider" must come after "auth_style"
    'oauth2_provider',
]

Usage

When django-auth-style is properly installed alongside django-allauth or django-oauth-toolkit, rendered templates will automatically be overridden with styled alternatives.

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-auth-style-0.8.1.tar.gz (903.2 kB view details)

Uploaded Source

Built Distribution

django_auth_style-0.8.1-py3-none-any.whl (912.0 kB view details)

Uploaded Python 3

File details

Details for the file django-auth-style-0.8.1.tar.gz.

File metadata

  • Download URL: django-auth-style-0.8.1.tar.gz
  • Upload date:
  • Size: 903.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for django-auth-style-0.8.1.tar.gz
Algorithm Hash digest
SHA256 118b635fc6719f9c49ce71880347dc1ad6d84ba3031594d11a894120737d51fb
MD5 8821a7ea4d1a5e817147a637d6e32429
BLAKE2b-256 a737bdcbcf157c3a399d7db11db24cc218a41450b4babcd83a1c9e4b6382574b

See more details on using hashes here.

Provenance

File details

Details for the file django_auth_style-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: django_auth_style-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 912.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for django_auth_style-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c227eb02c11b4cd576d5158d4376d1ad08986853eafb1c2279f8b494682741
MD5 4f7c44da06e4c25b6c05c2bca09a1308
BLAKE2b-256 ed967a6952c6f328c2711da2cec20269ec1b782a822e73e132c2744f79b0541e

See more details on using hashes here.

Provenance

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