Metadata-Version: 2.4
Name: entirius-django-accounts
Version: 5.0.0
Summary: Accounts Django module for Volkanos
Project-URL: Repository, https://github.com/entirius/entirius-django-accounts
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: django-admin-inline-paginator>=0.4
Requires-Dist: django-allauth[socialaccount]>=0.45.0
Requires-Dist: django>=4.0.0
Requires-Dist: djangorestframework-simplejwt>=4.7.2
Requires-Dist: djangorestframework>=3.12.4
Requires-Dist: drf-spectacular>=0.27.0
Requires-Dist: entirius-django-email>=4.0.0
Requires-Dist: entirius-django-regional>=2.0.1
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: entirius-py-idx-normalizator>=2.0.0
Requires-Dist: entirius-py-int-enum-choices>=2.0.0
Requires-Dist: entirius-py-process-logger>=2.0.0
Requires-Dist: marshmallow-dataclass>=8.5.3
Requires-Dist: marshmallow>=3.15.0
Requires-Dist: pydantic>=2.0
Requires-Dist: pyjwt>=2.3.0
Requires-Dist: requests>=2.25.0
Requires-Dist: tqdm>=4.65.0
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: pim
Requires-Dist: entirius-django-pim>=3.0.0; extra == 'pim'
Provides-Extra: test
Requires-Dist: dj-database-url; extra == 'test'
Requires-Dist: entirius-django-captcha>=2.0.0; extra == 'test'
Requires-Dist: psycopg[binary]; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# django-accounts

Customer authentication and account management module for the Volkanos ecommerce platform —
registration with double opt-in, JWT login (simplejwt), address book with file attachments,
per-channel wishlist, social login (Google/Facebook) and CSV import/export.
v1 public API (function-based views + marshmallow DTOs), v2 read-only admin API
(Pydantic + drf-spectacular).

## Installation

```shell
pip install entirius-django-accounts
```

Add the app to your project:

```python
INSTALLED_APPS = [
    ...
    "django_accounts",
]
```

Two settings are required at import time: `PRIVATE_DIR` (private file storage root) and
`MIGRATION_0023_MECHANISM` (wishlist restructuring mode; use `1` on fresh installations).

Optional PIM integration (product-representation sync worker):

```shell
pip install "entirius-django-accounts[pim]"
```

## Development

```shell
make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django, postgres via DATABASE_URL)
```

Architecture, API and model reference: [AGENTS.md](AGENTS.md).

## License

Mozilla Public License 2.0 — see [LICENSE](LICENSE).
