# 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
Raw data
{
"_id": null,
"home_page": "https://www.artd.com.co/",
"name": "artd-alliance",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jonathan Urzola",
"author_email": "jonathan@artd.com.co",
"download_url": "https://files.pythonhosted.org/packages/a2/bc/7489455f49704f68c8781f9c0201630ec4843a1ca7f770e9159298f85ec9/artd_alliance-1.0.6.tar.gz",
"platform": null,
"description": "# ArtD Alliance\n\nThe ArtD Alliance module allows different parties to partner to create promotional strategies such as percentage or fixed discounts and discount coupons of different types.\n\n## How to use?\n\n1. Install The package\n```bash\npip install artd-alliance\n```\n\n2. Add the required on settings.py as follows\n```python\nINSTALLED_APPS = [\n \"django_json_widget\",\n \"artd_customer\",\n \"artd_location\",\n \"artd_modules\",\n \"artd_partner\",\n \"artd_product\",\n \"artd_service\",\n \"artd_urls\",\n \"artd_promotion\",\n \"artd_alliance\",\n]\n\n```\n3. Run the migrations command\n```bash\npython manage.py migrate\n```\n\n4. Run the base commands\n```bash\npython manage.py create_countries\npython manage.py create_colombian_regions\npython manage.py create_colombian_cities\npython manage.py create_apps\npython manage.py create_services\npython manage.py create_base_customer_groups\npython manage.py create_tax_segments\npython manage.py create_vat_data\npython manage.py create_taxes\npython manage.py insert_installed_apps_and_permissions\n```\n\n5. Create a superuser\n```bash\npython manage.py createsuperuser\n```\n6. Add the context processor\n\n```bash\n TEMPLATES = [\n {\n 'OPTIONS': {\n 'context_processors': [\n 'artd_alliance.context_processors.user_context_processor',\n\n ],\n }\n },\n]\n```\n\n6. Log in to your Django instance manager\n\n7. Create a partner\n\n8. Configure your partners and alliances\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "ArtD Alliance.",
"version": "1.0.6",
"project_urls": {
"Homepage": "https://www.artd.com.co/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8bb70da951aeebcd357d5b3f41b95cb30f7f8e3ea8ee3637896dbfdd47cb26bb",
"md5": "71c0c9d31a7f815a0c37e0735f7c2d81",
"sha256": "f7abbe7b82f9aaf0d97062f399c1581cf9c2f335abf1635f958024fba4452a72"
},
"downloads": -1,
"filename": "artd_alliance-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "71c0c9d31a7f815a0c37e0735f7c2d81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 23412,
"upload_time": "2024-11-22T13:21:34",
"upload_time_iso_8601": "2024-11-22T13:21:34.565319Z",
"url": "https://files.pythonhosted.org/packages/8b/b7/0da951aeebcd357d5b3f41b95cb30f7f8e3ea8ee3637896dbfdd47cb26bb/artd_alliance-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a2bc7489455f49704f68c8781f9c0201630ec4843a1ca7f770e9159298f85ec9",
"md5": "0bb67a6d965198f026a1a80eaed0cec3",
"sha256": "3c699843f0feccf74d7e4f6d97c12844954be06f7157a6b19c864e23cca6439c"
},
"downloads": -1,
"filename": "artd_alliance-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "0bb67a6d965198f026a1a80eaed0cec3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13963,
"upload_time": "2024-11-22T13:21:36",
"upload_time_iso_8601": "2024-11-22T13:21:36.802139Z",
"url": "https://files.pythonhosted.org/packages/a2/bc/7489455f49704f68c8781f9c0201630ec4843a1ca7f770e9159298f85ec9/artd_alliance-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-22 13:21:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "artd-alliance"
}