-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04787a0
commit ad1d196
Showing
65 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+574 Bytes
store/migrations/__pycache__/0002_rename_price_product_unit_price.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+682 Bytes
store/migrations/__pycache__/0004_auto_20230304_1130.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+832 Bytes
...__pycache__/0005_alter_collection_options_alter_customer_options_and_more.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+1.57 KB
..._pycache__/0006_alter_orderitem_product_alter_product_collection_and_more.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+839 Bytes
...tions/__pycache__/0008_alter_cartitem_cart_alter_cartitem_unique_together.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+753 Bytes
store/migrations/__pycache__/0009_alter_cartitem_quantity.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+1.07 KB
...ns/__pycache__/0010_alter_customer_options_remove_customer_email_and_more.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+659 Bytes
store/migrations/__pycache__/0011_alter_customer_birth_date.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+597 Bytes
store/migrations/__pycache__/0012_alter_order_options.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+650 Bytes
store/migrations/__pycache__/0013_alter_customer_options.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+1.02 KB
store/migrations/__pycache__/0014_alter_orderitem_order_productimage.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .celery import celery |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import os | ||
from celery import Celery | ||
|
||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'storefront.settings') | ||
# we are setting the environmetal variable(DJANGO_SETTINGS_MODULE) to this settings (storefront.settings) | ||
|
||
celery = Celery('storefront') | ||
celery.config_from_object('django.conf:settings', namespace='CELERY') | ||
# new sttings added to connect to redis | ||
celery.autodiscover_tasks() | ||
# tasks in task folder, by calling this will run the tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,4 +198,6 @@ | |
|
||
ADMINS = [ | ||
('adminguy', 'admin@adminguymail.com') | ||
] | ||
] | ||
|
||
CELERY_BROKER_URL = 'redis://localhost:6379/1' |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
amqp==5.1.1 | ||
asgiref==3.6.0 | ||
async-timeout==4.0.2 | ||
autopep8==2.0.2 | ||
billiard==3.6.4.0 | ||
celery==5.2.7 | ||
certifi==2022.12.7 | ||
cffi==1.15.1 | ||
charset-normalizer==3.1.0 | ||
click==8.1.3 | ||
click-didyoumean==0.3.0 | ||
click-plugins==1.1.1 | ||
click-repl==0.2.0 | ||
coreapi==2.3.3 | ||
coreschema==0.0.4 | ||
cryptography==40.0.2 | ||
defusedxml==0.7.1 | ||
Django==4.2 | ||
django-cors-headers==3.14.0 | ||
django-debug-toolbar==4.0.0 | ||
django-filter==23.2 | ||
django-templated-mail==1.1.1 | ||
djangorestframework==3.14.0 | ||
djangorestframework-simplejwt==5.2.2 | ||
djoser==2.2.0 | ||
drf-nested-routers==0.93.4 | ||
idna==3.4 | ||
itypes==1.2.0 | ||
Jinja2==3.1.2 | ||
kombu==5.2.4 | ||
MarkupSafe==2.1.2 | ||
mysqlclient==2.1.1 | ||
oauthlib==3.2.2 | ||
Pillow==9.5.0 | ||
prompt-toolkit==3.0.38 | ||
pycodestyle==2.10.0 | ||
pycparser==2.21 | ||
PyJWT==2.6.0 | ||
python3-openid==3.2.0 | ||
pytz==2023.3 | ||
redis==4.5.4 | ||
requests==2.29.0 | ||
requests-oauthlib==1.3.1 | ||
six==1.16.0 | ||
social-auth-app-django==5.2.0 | ||
social-auth-core==4.4.2 | ||
sqlparse==0.4.4 | ||
tomli==2.0.1 | ||
tzdata==2023.3 | ||
uritemplate==4.1.1 | ||
urllib3==1.26.15 | ||
vine==5.0.0 | ||
wcwidth==0.2.6 |