Tools for managing django user accounts.
Project description
Django Account Center
A comprehensive Django package for managing user accounts with a modern, customizable interface built on Bootstrap 5 and Django Cotton components.
Features
- Complete Account Management: Email management, password changes, session management, and MFA support
- Social Authentication: Integration with django-allauth for social login providers
- Payment Integration: Optional Stripe integration for subscription management
- Responsive Design: Built with Bootstrap 5 and Cotton components
- Flexible Menu System: Powered by django-flex-menus for customizable navigation
- Activity Streams: Optional integration with django-activity-stream for social features
- Theme Support: Customizable templates and themes
Installation
Using pip
pip install django-accounts-center
Using Poetry (Development)
git clone https://github.com/SamuelJennings/django-accounts-center.git
cd django-accounts-center
poetry install
Quick Start
1. Add to Django Settings
Add the required packages to your INSTALLED_APPS:
INSTALLED_APPS = [
# Django core apps
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.sites",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
# Third-party packages
"allauth",
"allauth.account",
"allauth.socialaccount",
"allauth.mfa",
"allauth.usersessions",
"crispy_forms",
"crispy_bootstrap5",
"flex_menu",
"django_cotton",
"cotton_bs5",
"easy_icons",
# Django Account Center
"dac",
"dac.addons.allauth",
# Optional addons
"dac.addons.stripe", # For Stripe integration
"dac.addons.actstream", # For activity streams
# Your apps
"your_app",
]
2. Configure Authentication
# Authentication backends
AUTHENTICATION_BACKENDS = [
"django.contrib.auth.backends.ModelBackend",
"allauth.account.auth_backends.AuthenticationBackend",
]
# Crispy forms configuration
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"
# Site ID (required for allauth)
SITE_ID = 1
3. Configure URLs
Add the account center URLs to your main urls.py:
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path("admin/", admin.site.urls),
path("account-center/", include("dac.urls")),
path("accounts/", include("allauth.urls")), # For allauth integration
path("", include("your_app.urls")),
]
4. Run Migrations
python manage.py migrate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_accounts_center-0.2.0.tar.gz.
File metadata
- Download URL: django_accounts_center-0.2.0.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
690d5e235902e90d8f595dee813cbb3e4316954c5b06aab75f8fd2d39d135dc2
|
|
| MD5 |
d6e39a4d71622ef03b63b477c58ebd14
|
|
| BLAKE2b-256 |
ba73d6c4f20a0d8d1002bd92a7514cbc492d532f49a7348273879173f641d23a
|
Provenance
The following attestation bundles were made for django_accounts_center-0.2.0.tar.gz:
Publisher:
on-release-main.yml on SamuelJennings/django-accounts-center
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_accounts_center-0.2.0.tar.gz -
Subject digest:
690d5e235902e90d8f595dee813cbb3e4316954c5b06aab75f8fd2d39d135dc2 - Sigstore transparency entry: 1569528076
- Sigstore integration time:
-
Permalink:
SamuelJennings/django-accounts-center@47c7d110728faf6fdbb734340b993d1c8944df4f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SamuelJennings
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-main.yml@47c7d110728faf6fdbb734340b993d1c8944df4f -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file django_accounts_center-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_accounts_center-0.2.0-py3-none-any.whl
- Upload date:
- Size: 104.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e808cf7a6e13e900e67b24637695f63b2b9f35e8a932b42b8f905680f25a97d
|
|
| MD5 |
ad518ddb2913ec0a5e918efca59bd81e
|
|
| BLAKE2b-256 |
9c3942df896cadb75e7a50c802cd10cb535f1a47705856ed754be50c4ce6255e
|
Provenance
The following attestation bundles were made for django_accounts_center-0.2.0-py3-none-any.whl:
Publisher:
on-release-main.yml on SamuelJennings/django-accounts-center
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_accounts_center-0.2.0-py3-none-any.whl -
Subject digest:
7e808cf7a6e13e900e67b24637695f63b2b9f35e8a932b42b8f905680f25a97d - Sigstore transparency entry: 1569528202
- Sigstore integration time:
-
Permalink:
SamuelJennings/django-accounts-center@47c7d110728faf6fdbb734340b993d1c8944df4f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SamuelJennings
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-main.yml@47c7d110728faf6fdbb734340b993d1c8944df4f -
Trigger Event:
workflow_run
-
Statement type: