ob-dj-store 0.0.20.9__tar.gz → 0.0.21.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/PKG-INFO +1 -1
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/stores/filters.py +7 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/stores/rest/serializers/serializers.py +20 -8
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/stores/views.py +6 -12
- ob_dj_store-0.0.21.1/ob_dj_store/core/stores/migrations/0109_wallettransaction_cashback_type.py +27 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_wallet.py +8 -1
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store.egg-info/PKG-INFO +1 -1
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store.egg-info/SOURCES.txt +1 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.github/dependabot.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.github/workflows/docs.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.github/workflows/pre-release.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.github/workflows/release.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.github/workflows/test-build.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.gitignore +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.isort.cfg +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/.pre-commit-config.yaml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/Dockerfile +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/MANIFEST.in +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/Makefile +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/Pipfile +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/Pipfile.lock +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/README.md +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/config/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/config/settings.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/config/urls.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/config/wsgi.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docker-compose.env +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docker-compose.yml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/Makefile +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/make.bat +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/admin.rst +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/conf.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/index.rst +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/installation.rst +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/models.rst +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/docs/source/rest_endpoints.rst +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/fixtures/initial_users.yaml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/fixtures/stores.yaml +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/manage.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/stores/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/stores/urls.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/tap/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/tap/serializers.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/tap/urls.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/apis/tap/views.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/admin.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/admin_inlines.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/apps.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/admin.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/apps.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/managers.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0001_initial.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0002_auto_20220815_1610.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0003_auto_20220818_1938.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0004_tapcustomer.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0005_alter_tappayment_payment_url.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0006_alter_tappayment_source.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0007_alter_tappayment_source.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/0008_alter_tappayment_user.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/migrations/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/models.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/utils.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/managers.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0001_initial.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0002_auto_20220422_0205.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0003_openinghours.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0004_auto_20220422_2326.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0005_auto_20220425_2119.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0005_auto_20220427_1729.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0006_auto_20220428_0100.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0007_cart_cartitem_order_orderitem.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0008_order_status.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0009_auto_20220508_2142.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0010_auto_20220509_1633.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0011_favorite.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0012_auto_20220514_0633.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0013_auto_20220518_1539.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0014_auto_20220519_0018.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0015_inventory_inventoryoperations.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0016_productvariant_preparation_time.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0017_auto_20220524_0912.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0018_auto_20220524_1613.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0019_product_is_featured.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0020_orderhistory.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0021_auto_20220531_1849.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0022_order_pickup_time.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0023_feedback_feedbackattribute_feedbackconfig.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0024_auto_20220609_1552.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0025_productvariant_is_primary.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0026_auto_20220630_1913.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0027_auto_20220713_1759.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0028_phonecontact.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0029_auto_20220726_1750.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0030_category_parent.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0031_auto_20220811_1733.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0032_auto_20220812_1951.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0033_auto_20220815_0133.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0034_auto_20220815_1528.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0035_auto_20220818_1938.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0036_productattribute_is_mandatory.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0037_auto_20220825_1736.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0038_cartitem_extra_infos.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0039_auto_20220831_1521.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0040_auto_20220902_1806.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0041_auto_20220912_1506.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0042_wallet_wallettransaction.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0043_auto_20220919_1854.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0044_remove_productvariant_has_inventory.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0045_shippingmethod_type.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0046_auto_20221014_1720.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0047_auto_20221018_1433.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0048_auto_20221026_1933.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0049_auto_20221029_1524.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0050_favoriteextra.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0051_order_car_id.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0052_auto_20221129_1732.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0053_inventory_plu.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0054_auto_20221230_1501.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0055_store_image.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0056_auto_20230213_2224.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0057_auto_20230214_1724.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0058_attributechoice_is_default.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0059_auto_20230217_2006.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0060_alter_orderitem_product_variant.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0061_auto_20230223_1435.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0062_auto_20230226_2005.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0063_alter_store_payment_methods.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0064_auto_20230228_1814.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0065_auto_20230228_1932.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0066_auto_20230304_1532.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0067_auto_20230309_2014.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0068_auto_20230309_2251.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0069_alter_cartitem_options.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0070_auto_20230323_1628.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0071_auto_20230328_1825.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0072_alter_order_extra_infos.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0073_wallettransaction_is_cashback.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0074_productvariant_label.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0075_auto_20230419_0259.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0076_auto_20230421_1343.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0077_auto_20230502_2005.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0078_auto_20230503_1259.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0079_auto_20230504_1919.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0080_productvariant_description.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0081_storeattributechoice.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0082_auto_20230613_1424.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0083_productvariant_is_special.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0084_payment_result.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0085_auto_20230726_1528.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0086_wallet_is_active.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0087_auto_20230828_2138.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0088_alter_paymentmethod_payment_provider.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0089_discount_partner_partnerauthinfo_partneremaildomain_partnerotpauth.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0090_auto_20231006_1356.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0091_auto_20231010_1740.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0092_auto_20231012_1339.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0093_auto_20231017_2033.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0094_countrypaymentmethod.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0095_auto_20231101_1531.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0096_discount_discount_pos_id.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0097_auto_20231108_1939.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0098_alter_discount_discount_rate.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0099_alter_product_name_arabic.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0100_remove_shippingmethod_type_arabic.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0101_store_is_digital.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0102_partner_name_arabic.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0103_alter_paymentmethod_payment_provider.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0104_wallettransaction_is_redeemed.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0105_store_is_open_after_midnight.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0106_alter_paymentmethod_payment_provider.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0107_auto_20250425_2059.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0108_alter_paymentmethod_payment_provider.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_address.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_cart.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_favorite.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_feedback.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_inventory.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_order.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_partner.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_payment.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_product.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/models/_store.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/receivers.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/settings_validation.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/utils.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/utils/__init__.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/utils/helpers.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/utils/model.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/utils/utils.py +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store.egg-info/dependency_links.txt +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store.egg-info/requires.txt +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store.egg-info/top_level.txt +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/pytest.ini +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/setup.cfg +0 -0
- {ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/setup.py +0 -0
@@ -87,6 +87,7 @@ class ProductFilter(filters.FilterSet):
|
|
87
87
|
"""Product filters"""
|
88
88
|
|
89
89
|
category = filters.CharFilter(method="by_category")
|
90
|
+
q = filters.CharFilter(method="filter_search")
|
90
91
|
|
91
92
|
class Meta:
|
92
93
|
model = Product
|
@@ -99,6 +100,12 @@ class ProductFilter(filters.FilterSet):
|
|
99
100
|
def by_category(self, queryset, name, value):
|
100
101
|
return queryset.filter(category__name__iexact=value)
|
101
102
|
|
103
|
+
def filter_search(self, queryset, name, value):
|
104
|
+
print("q filter :", value)
|
105
|
+
return queryset.filter(
|
106
|
+
Q(name__icontains=value) | Q(description__icontains=value)
|
107
|
+
).distinct()[:5]
|
108
|
+
|
102
109
|
|
103
110
|
class VariantFilter(filters.FilterSet):
|
104
111
|
"""Variant filters"""
|
@@ -1647,11 +1647,10 @@ class WalletTransactionSerializer(serializers.ModelSerializer):
|
|
1647
1647
|
]
|
1648
1648
|
|
1649
1649
|
|
1650
|
-
class
|
1651
|
-
def to_representation(self,
|
1650
|
+
class GroupedWalletTransactionListSerializer(serializers.ListSerializer):
|
1651
|
+
def to_representation(self, data):
|
1652
1652
|
result_dict = OrderedDict()
|
1653
|
-
|
1654
|
-
for wallettransaction in instance:
|
1653
|
+
for wallettransaction in data:
|
1655
1654
|
year = wallettransaction.created_at.year
|
1656
1655
|
month = wallettransaction.created_at.month
|
1657
1656
|
title = f"{datetime(year, month, 1).strftime('%b')}, {year}"
|
@@ -1660,12 +1659,25 @@ class WalletTransactionListSerializer(serializers.Serializer):
|
|
1660
1659
|
result_dict[title] = {"title": title, "data": []}
|
1661
1660
|
|
1662
1661
|
result_dict[title]["data"].append(
|
1663
|
-
|
1664
|
-
wallettransaction, context=self.context
|
1665
|
-
).data
|
1662
|
+
self.child.to_representation(wallettransaction)
|
1666
1663
|
)
|
1667
1664
|
|
1668
|
-
return
|
1665
|
+
return list(result_dict.values())
|
1666
|
+
|
1667
|
+
|
1668
|
+
class WalletTransactionListSerializer(serializers.ModelSerializer):
|
1669
|
+
class Meta:
|
1670
|
+
model = WalletTransaction
|
1671
|
+
fields = [
|
1672
|
+
"id",
|
1673
|
+
"type",
|
1674
|
+
"amount",
|
1675
|
+
"created_at",
|
1676
|
+
"wallet",
|
1677
|
+
"is_cashback",
|
1678
|
+
"is_refund",
|
1679
|
+
]
|
1680
|
+
list_serializer_class = GroupedWalletTransactionListSerializer
|
1669
1681
|
|
1670
1682
|
|
1671
1683
|
class ReorderSerializer(serializers.Serializer):
|
@@ -1100,22 +1100,16 @@ class WalletViewSet(
|
|
1100
1100
|
tags=["Wallet",],
|
1101
1101
|
)
|
1102
1102
|
@action(
|
1103
|
-
methods=["GET"
|
1103
|
+
methods=["GET"],
|
1104
1104
|
detail=True,
|
1105
1105
|
url_path="transactions",
|
1106
1106
|
serializer_class=WalletTransactionListSerializer,
|
1107
1107
|
)
|
1108
|
-
def transactions(
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
if page is not None:
|
1114
|
-
serializer = self.get_serializer(page)
|
1115
|
-
return self.get_paginated_response(serializer.data)
|
1116
|
-
|
1117
|
-
serializer = self.get_serializer(queryset)
|
1118
|
-
return Response(serializer.data)
|
1108
|
+
def transactions(self, request, *args, **kwargs):
|
1109
|
+
wallet = self.get_object()
|
1110
|
+
queryset = wallet.transactions.all().order_by("-created_at")
|
1111
|
+
serializer = WalletTransactionListSerializer(queryset, many=True)
|
1112
|
+
return Response({"results": serializer.data})
|
1119
1113
|
|
1120
1114
|
@swagger_auto_schema(
|
1121
1115
|
operation_summary="List Wallet selection images",
|
ob_dj_store-0.0.21.1/ob_dj_store/core/stores/migrations/0109_wallettransaction_cashback_type.py
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Generated by Django 3.2.8 on 2025-07-31 16:12
|
2
|
+
|
3
|
+
from django.db import migrations, models
|
4
|
+
|
5
|
+
|
6
|
+
class Migration(migrations.Migration):
|
7
|
+
|
8
|
+
dependencies = [
|
9
|
+
("stores", "0108_alter_paymentmethod_payment_provider"),
|
10
|
+
]
|
11
|
+
|
12
|
+
operations = [
|
13
|
+
migrations.AddField(
|
14
|
+
model_name="wallettransaction",
|
15
|
+
name="cashback_type",
|
16
|
+
field=models.CharField(
|
17
|
+
blank=True,
|
18
|
+
choices=[
|
19
|
+
("BY_ORDER", "By Order"),
|
20
|
+
("BY_OFFER", "By Offer"),
|
21
|
+
("BY_STREAK", "By Streak"),
|
22
|
+
],
|
23
|
+
max_length=100,
|
24
|
+
null=True,
|
25
|
+
),
|
26
|
+
),
|
27
|
+
]
|
@@ -136,6 +136,11 @@ class WalletTransaction(models.Model):
|
|
136
136
|
CREDIT = "CREDIT", _("credit")
|
137
137
|
DEBIT = "DEBIT", _("debit")
|
138
138
|
|
139
|
+
class CashBackType(models.TextChoices):
|
140
|
+
BY_ORDER = "BY_ORDER", _("By Order")
|
141
|
+
BY_OFFER = "BY_OFFER", _("By Offer")
|
142
|
+
BY_STREAK = "BY_STREAK", _("By Streak")
|
143
|
+
|
139
144
|
wallet = models.ForeignKey(
|
140
145
|
"stores.Wallet", on_delete=models.CASCADE, related_name="transactions",
|
141
146
|
)
|
@@ -150,7 +155,9 @@ class WalletTransaction(models.Model):
|
|
150
155
|
is_cashback = models.BooleanField(default=False)
|
151
156
|
is_refund = models.BooleanField(default=False)
|
152
157
|
is_redeemed = models.BooleanField(default=False)
|
153
|
-
|
158
|
+
cashback_type = models.CharField(
|
159
|
+
max_length=100, choices=CashBackType.choices, blank=True, null=True
|
160
|
+
)
|
154
161
|
objects = WalletTransactionManager()
|
155
162
|
|
156
163
|
# Audit
|
@@ -182,6 +182,7 @@ ob_dj_store/core/stores/migrations/0105_store_is_open_after_midnight.py
|
|
182
182
|
ob_dj_store/core/stores/migrations/0106_alter_paymentmethod_payment_provider.py
|
183
183
|
ob_dj_store/core/stores/migrations/0107_auto_20250425_2059.py
|
184
184
|
ob_dj_store/core/stores/migrations/0108_alter_paymentmethod_payment_provider.py
|
185
|
+
ob_dj_store/core/stores/migrations/0109_wallettransaction_cashback_type.py
|
185
186
|
ob_dj_store/core/stores/migrations/__init__.py
|
186
187
|
ob_dj_store/core/stores/models/__init__.py
|
187
188
|
ob_dj_store/core/stores/models/_address.py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/gateway/tap/managers.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0001_initial.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0011_favorite.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/0055_store_image.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/migrations/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ob_dj_store-0.0.20.9 → ob_dj_store-0.0.21.1}/ob_dj_store/core/stores/settings_validation.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|