Metadata-Version: 2.4
Name: entirius-django-loyalty
Version: 2.0.0
Summary: Loyalty programs for Volkanos: points, coupons and SALESmanago loyalty integration
Project-URL: Repository, https://github.com/entirius/entirius-django-loyalty
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: django-admin-inline-paginator>=0.3.0
Requires-Dist: django-allauth
Requires-Dist: django>=5.0
Requires-Dist: djangorestframework>=3.14
Requires-Dist: entirius-django-accounts>=5.0.0
Requires-Dist: entirius-django-checkout>=9.0.0
Requires-Dist: entirius-django-crm>=3.0.0
Requires-Dist: entirius-django-email>=4.0.0
Requires-Dist: entirius-django-regional>=2.0.0
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: entirius-py-idx-normalizator>=2.0.0
Requires-Dist: entirius-py-salesmanago-sdk>=2.0.0
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: dj-database-url; extra == 'test'
Requires-Dist: psycopg[binary]; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# entirius-django-loyalty

Loyalty programs for Volkanos: stores loyalty points per customer and generates discount
codes (coupons) from points. Integrates with `django_checkout` (discount rule codes),
`django_crm` (form DTO) and optionally SALESmanago (loyalty points sync).

## Installation

```shell
pip install entirius-django-loyalty
```

## Configuration

Optional settings (see `src/django_loyalty/settings.py`): `LOYALTY_SALESMANAGO_ON`,
`COUPON_EMAIL_TEMPLATE_PATH_HTML` / `_TXT`, `COUPON_REDIRECT_URL_PL` / `_EN`,
`DEFAULT_FROM_EMAIL`, `LOGO_URL`.

## Development

```shell
make install   # uv sync (incl. extras)
make test      # run tests
make check     # ruff lint + format-check
```

## API

See `docs/README.md` and `docs/api/` for the endpoint reference.

## License

MPL-2.0
