ob-dj-store 0.0.12.8__tar.gz → 0.0.12.9__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.12.8 → ob-dj-store-0.0.12.9}/PKG-INFO +1 -1
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/config/settings.py +2 -1
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/config/urls.py +1 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/stores/rest/serializers/serializers.py +6 -6
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/stores/views.py +17 -3
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store.egg-info/PKG-INFO +1 -1
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.github/dependabot.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.github/workflows/docs.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.github/workflows/pre-release.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.github/workflows/release.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.github/workflows/test-build.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.gitignore +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.isort.cfg +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/.pre-commit-config.yaml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/Dockerfile +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/MANIFEST.in +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/Makefile +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/Pipfile +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/Pipfile.lock +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/README.md +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/config/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/config/wsgi.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docker-compose.env +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docker-compose.yml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/Makefile +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/make.bat +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/admin.rst +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/conf.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/index.rst +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/installation.rst +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/models.rst +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/docs/source/rest_endpoints.rst +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/fixtures/initial_users.yaml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/fixtures/stores.yaml +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/manage.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/stores/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/stores/filters.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/stores/urls.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/tap/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/tap/serializers.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/tap/urls.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/apis/tap/views.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/admin.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/admin_inlines.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/apps.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/admin.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/apps.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/managers.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/migrations/0001_initial.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/migrations/0002_auto_20220815_1610.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/migrations/0003_auto_20220818_1938.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/migrations/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/models.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/utils.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/managers.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0001_initial.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0002_auto_20220422_0205.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0003_openinghours.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0004_auto_20220422_2326.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0005_auto_20220425_2119.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0005_auto_20220427_1729.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0006_auto_20220428_0100.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0007_cart_cartitem_order_orderitem.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0008_order_status.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0009_auto_20220508_2142.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0010_auto_20220509_1633.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0011_favorite.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0012_auto_20220514_0633.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0013_auto_20220518_1539.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0014_auto_20220519_0018.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0015_inventory_inventoryoperations.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0016_productvariant_preparation_time.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0017_auto_20220524_0912.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0018_auto_20220524_1613.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0019_product_is_featured.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0020_orderhistory.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0021_auto_20220531_1849.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0022_order_pickup_time.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0023_feedback_feedbackattribute_feedbackconfig.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0024_auto_20220609_1552.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0025_productvariant_is_primary.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0026_auto_20220630_1913.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0027_auto_20220713_1759.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0028_phonecontact.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0029_auto_20220726_1750.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0030_category_parent.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0031_auto_20220811_1733.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0032_auto_20220812_1951.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0033_auto_20220815_0133.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0034_auto_20220815_1528.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0035_auto_20220818_1938.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0036_productattribute_is_mandatory.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0037_auto_20220825_1736.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0038_cartitem_extra_infos.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0039_auto_20220831_1521.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0040_auto_20220902_1806.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0041_auto_20220912_1506.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0042_wallet_wallettransaction.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0043_auto_20220919_1854.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0044_remove_productvariant_has_inventory.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0045_shippingmethod_type.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0046_auto_20221014_1720.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0047_auto_20221018_1433.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0048_auto_20221026_1933.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0049_auto_20221029_1524.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0050_favoriteextra.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0051_order_car_id.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0052_auto_20221129_1732.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0053_inventory_plu.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0054_auto_20221230_1501.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0055_store_image.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0056_auto_20230213_2224.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0057_auto_20230214_1724.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0058_attributechoice_is_default.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0059_auto_20230217_2006.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0060_alter_orderitem_product_variant.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0061_auto_20230223_1435.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0062_auto_20230226_2005.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0063_alter_store_payment_methods.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0064_auto_20230228_1814.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0065_auto_20230228_1932.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0066_auto_20230304_1532.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0067_auto_20230309_2014.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0068_auto_20230309_2251.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0069_alter_cartitem_options.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0070_auto_20230323_1628.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/0071_auto_20230328_1825.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/migrations/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_address.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_cart.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_favorite.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_feedback.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_inventory.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_order.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_payment.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_product.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_store.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/models/_wallet.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/receivers.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/settings_validation.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/utils.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/utils/__init__.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/utils/helpers.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/utils/model.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/utils/utils.py +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store.egg-info/SOURCES.txt +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store.egg-info/dependency_links.txt +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store.egg-info/requires.txt +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store.egg-info/top_level.txt +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/pytest.ini +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/setup.cfg +0 -0
- {ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/setup.py +0 -0
@@ -85,6 +85,7 @@ THIRD_PARTY_APPS = [
|
|
85
85
|
"drf_yasg",
|
86
86
|
"leaflet",
|
87
87
|
"django_auto_prefetching",
|
88
|
+
"silk",
|
88
89
|
]
|
89
90
|
|
90
91
|
LOCAL_APPS = [
|
@@ -100,6 +101,7 @@ INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
|
|
100
101
|
# ------------------------------------------------------------------------------
|
101
102
|
# https://docs.djangoproject.com/en/dev/ref/settings/#middleware
|
102
103
|
MIDDLEWARE = [
|
104
|
+
"silk.middleware.SilkyMiddleware",
|
103
105
|
"corsheaders.middleware.CorsMiddleware",
|
104
106
|
"django.middleware.security.SecurityMiddleware",
|
105
107
|
"django.contrib.sessions.middleware.SessionMiddleware",
|
@@ -352,7 +354,6 @@ DIGITAL_PRODUCTS_REQUIRED_KEYS = (
|
|
352
354
|
"email",
|
353
355
|
"phone_number",
|
354
356
|
"name",
|
355
|
-
"message",
|
356
357
|
)
|
357
358
|
|
358
359
|
|
@@ -27,5 +27,6 @@ urlpatterns = [
|
|
27
27
|
path("ecom/", include("ob_dj_store.apis.stores.urls")),
|
28
28
|
path("tap/", include("ob_dj_store.apis.tap.urls")),
|
29
29
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
30
|
+
urlpatterns += [path("silk/", include("silk.urls", namespace="silk"))]
|
30
31
|
|
31
32
|
urlpatterns += staticfiles_urlpatterns()
|
@@ -845,9 +845,11 @@ class StoreSerializer(FavoriteMixin, serializers.ModelSerializer):
|
|
845
845
|
|
846
846
|
def get_in_range_delivery(self, obj):
|
847
847
|
user_location = self.context["request"].query_params.get("point")
|
848
|
-
in_range_method =
|
849
|
-
|
850
|
-
|
848
|
+
in_range_method = False
|
849
|
+
for shipping_method in obj.shipping_methods.all():
|
850
|
+
if shipping_method.type == ShippingMethod.ShippingType.DELIVERY:
|
851
|
+
in_range_method = True
|
852
|
+
break
|
851
853
|
if not in_range_method:
|
852
854
|
return True
|
853
855
|
if user_location and obj.poly:
|
@@ -900,9 +902,7 @@ class StoreSerializer(FavoriteMixin, serializers.ModelSerializer):
|
|
900
902
|
return f"{ds}{unit}"
|
901
903
|
|
902
904
|
def get_phone_contacts(self, obj):
|
903
|
-
phone_contacts = obj.phone_contacts.
|
904
|
-
"-is_default"
|
905
|
-
)
|
905
|
+
phone_contacts = obj.phone_contacts.all()
|
906
906
|
return PhoneContactSerializer(phone_contacts, many=True).data
|
907
907
|
|
908
908
|
def get_current_day_opening_hours(self, obj):
|
@@ -63,6 +63,7 @@ from ob_dj_store.core.stores.models import (
|
|
63
63
|
Order,
|
64
64
|
Payment,
|
65
65
|
PaymentMethod,
|
66
|
+
PhoneContact,
|
66
67
|
Product,
|
67
68
|
ProductVariant,
|
68
69
|
ShippingMethod,
|
@@ -100,8 +101,20 @@ class StoreView(
|
|
100
101
|
return super(StoreView, self).get_permissions()
|
101
102
|
|
102
103
|
def get_queryset(self):
|
103
|
-
queryset =
|
104
|
-
|
104
|
+
queryset = (
|
105
|
+
super()
|
106
|
+
.get_queryset()
|
107
|
+
.prefetch_related(
|
108
|
+
"shipping_methods",
|
109
|
+
"opening_hours",
|
110
|
+
Prefetch(
|
111
|
+
"phone_contacts",
|
112
|
+
queryset=PhoneContact.objects.filter(is_active=True).order_by(
|
113
|
+
"-is_default"
|
114
|
+
),
|
115
|
+
),
|
116
|
+
)
|
117
|
+
)
|
105
118
|
if self.action == "favorites":
|
106
119
|
favorite_store_ids = Favorite.objects.favorites_for_model(
|
107
120
|
Store, self.request.user
|
@@ -261,6 +274,7 @@ class StoreView(
|
|
261
274
|
"DELIVERED",
|
262
275
|
],
|
263
276
|
)
|
277
|
+
.distinct()
|
264
278
|
.count()
|
265
279
|
)
|
266
280
|
nearby_count = super().get_queryset().count()
|
@@ -1104,7 +1118,7 @@ class WalletViewSet(
|
|
1104
1118
|
def transactions(
|
1105
1119
|
self, request: Request, *args: typing.Any, **kwargs: typing.Any
|
1106
1120
|
) -> Response:
|
1107
|
-
queryset = self.get_object().transactions.all()
|
1121
|
+
queryset = self.get_object().transactions.all().order_by("-created_at")
|
1108
1122
|
page = self.paginate_queryset(queryset)
|
1109
1123
|
if page is not None:
|
1110
1124
|
serializer = self.get_serializer(page, many=True)
|
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.12.8 → ob-dj-store-0.0.12.9}/ob_dj_store/core/stores/gateway/tap/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/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
|
{ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/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.12.8 → ob-dj-store-0.0.12.9}/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.12.8 → ob-dj-store-0.0.12.9}/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
|
{ob-dj-store-0.0.12.8 → ob-dj-store-0.0.12.9}/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.12.8 → ob-dj-store-0.0.12.9}/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
|
File without changes
|