DAMS (Mariva) için ürün teklifi modülü — ürünlere teklif/fiyat önerisi gönderme.
Project description
dams-offers
DAMS (Mariva) platformu için Ürün Teklifi modülü. Site ziyaretçileri bir ürüne fiyat teklifi / teklif talebi gönderir; yöneticiler bu teklifleri DAMS yönetim panelinde (otomatik Generic CRUD) yönetir.
Bu paket standalone'dur: çekirdek DAMS koduna sabit bağımlılığı yoktur,
ürünlere gevşek product_id referansıyla bağlanır ve host olmadan test edilebilir.
Yetenekler
- Public teklif gönderimi:
POST /api/offers/submit/(auth gerektirmez, honeypot + throttle + KVKK onayı) - Otomatik back-office:
setup_dams --updatesonrası panelde Ürün Teklifleri - Sağlık/meta:
GET /api/offers/meta/
Kurulum (host DAMS projesinde)
pip install dams-offers
python manage.py prepare_module_package --key offers
python manage.py migrate
python manage.py setup_dams --update
# uygulama sürecini yeniden başlat
Geliştirme
pip install -e ".[dev]"
ruff check . && mypy src && pytest
Mimari
Katmanlı (Clean Architecture): domain (enum/kurallar) · application
(use-case servisleri + portlar) · api (DRF serializer/view/url) · models
(ORM entity). İş mantığı serviste, view incedir (SRP).
Dağıtım adı: dams-offers · Python paketi: dams_offers · DAMS modül anahtarı: offers.
Lisans: MIT.
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 dams_offers-0.1.1.tar.gz.
File metadata
- Download URL: dams_offers-0.1.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1afa8598d60f4b91cd0e06e91f5fac381e1042ef7919c3b3a1a26d2d7f64078
|
|
| MD5 |
19cdacabce3a6c35416c7ad64a989139
|
|
| BLAKE2b-256 |
6830c32185981430ceab81cf641c560b3dbd855eb893f23e7b78eca4dcd03adc
|
File details
Details for the file dams_offers-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dams_offers-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c670649afad0a9a9782a56d4be239c8251ba9919b81a12079bd3cb08061205e
|
|
| MD5 |
3bdcc94dd796e1a5582e872cfbf35914
|
|
| BLAKE2b-256 |
5a631c8af9848da75abef59c4a35006cdc8a1adeedb63617f46e88ddf610e3eb
|