Metadata-Version: 2.1
Name: artd_alliance
Version: 1.0.3
Summary: ArtD Alliance.
Home-page: https://www.artd.com.co/
Author: Jonathan Urzola
Author-email: jonathan@artd.com.co
License: BSD-3-Clause
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=4.2.10
Requires-Dist: artd-customer>=1.0.16
Requires-Dist: artd-location>=1.0.5
Requires-Dist: artd-modules>=1.0.5
Requires-Dist: artd-partner>=1.0.7
Requires-Dist: artd-product>=1.0.20
Requires-Dist: artd-service>=1.0.5
Requires-Dist: artd-urls>=1.0.5
Requires-Dist: artd-promotion>=1.0.16
Requires-Dist: django-json-widget>=2.0.1
Requires-Dist: pillow>=10.4.0
Requires-Dist: django-autocomplete-light>=3.11.0

# ArtD Alliance

The ArtD Alliance module allows different parties to partner to create promotional strategies such as percentage or fixed discounts and discount coupons of different types.

## How to use?

1. Install The package
```bash
pip install artd-alliance
```

2. Add the required on settings.py as follows
```python
INSTALLED_APPS = [
    "django_json_widget",
    "artd_customer",
    "artd_location",
    "artd_modules",
    "artd_partner",
    "artd_product",
    "artd_service",
    "artd_urls",
    "artd_promotion",
    "artd_alliance",
]

```
3. Run the migrations command
```bash
python manage.py migrate
```

4. Run the base commands
```bash
python manage.py create_countries
python manage.py create_colombian_regions
python manage.py create_colombian_cities
python manage.py create_apps
python manage.py create_services
python manage.py create_base_customer_groups
python manage.py create_tax_segments
python manage.py create_vat_data
python manage.py create_taxes
python manage.py insert_installed_apps_and_permissions
```

5. Create a superuser
```bash
python manage.py createsuperuser
```
6. Add the context processor

```bash
 TEMPLATES = [
    {
        'OPTIONS': {
            'context_processors': [
                'artd_alliance.context_processors.user_context_processor',

            ],
        }
    },
]
```

6. Log in to your Django instance manager

7. Create a partner

8. Configure your partners and alliances
