From d491e56ec904fcf3b315f52b3841938e2ce693f6 Mon Sep 17 00:00:00 2001 From: Rawan Alasiri Date: Sun, 24 Jul 2022 22:41:51 +0300 Subject: [PATCH 1/2] add: new-file file --- new-file.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 new-file.txt diff --git a/new-file.txt b/new-file.txt new file mode 100644 index 000000000..e69de29bb From 0b44c4ccfebdfa02b4b227f6c44ddd68eaf13112 Mon Sep 17 00:00:00 2001 From: Rawan Alasiri Date: Sun, 24 Jul 2022 22:45:54 +0300 Subject: [PATCH 2/2] MyFirstProject --- MyFirstProject/MyFirstProject/__init__.py | 1 + .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 168 bytes .../__pycache__/settings.cpython-310.pyc | Bin 0 -> 2493 bytes .../__pycache__/urls.cpython-310.pyc | Bin 0 -> 1019 bytes .../__pycache__/wsgi.cpython-310.pyc | Bin 0 -> 585 bytes MyFirstProject/MyFirstProject/asgi.py | 16 +++ MyFirstProject/MyFirstProject/settings.py | 128 ++++++++++++++++++ MyFirstProject/MyFirstProject/urls.py | 23 ++++ MyFirstProject/MyFirstProject/wsgi.py | 16 +++ MyFirstProject/db.sqlite3 | 0 MyFirstProject/manage.py | 22 +++ MyFirstProject/orders/__init__.py | 0 .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 160 bytes .../orders/__pycache__/views.cpython-310.pyc | Bin 0 -> 433 bytes MyFirstProject/orders/admin.py | 3 + MyFirstProject/orders/apps.py | 6 + MyFirstProject/orders/migrations/__init__.py | 0 MyFirstProject/orders/models.py | 3 + MyFirstProject/orders/tests.py | 3 + MyFirstProject/orders/views.py | 7 + 20 files changed, 228 insertions(+) create mode 100644 MyFirstProject/MyFirstProject/__init__.py create mode 100644 MyFirstProject/MyFirstProject/__pycache__/__init__.cpython-310.pyc create mode 100644 MyFirstProject/MyFirstProject/__pycache__/settings.cpython-310.pyc create mode 100644 MyFirstProject/MyFirstProject/__pycache__/urls.cpython-310.pyc create mode 100644 MyFirstProject/MyFirstProject/__pycache__/wsgi.cpython-310.pyc create mode 100644 MyFirstProject/MyFirstProject/asgi.py create mode 100644 MyFirstProject/MyFirstProject/settings.py create mode 100644 MyFirstProject/MyFirstProject/urls.py create mode 100644 MyFirstProject/MyFirstProject/wsgi.py create mode 100644 MyFirstProject/db.sqlite3 create mode 100755 MyFirstProject/manage.py create mode 100644 MyFirstProject/orders/__init__.py create mode 100644 MyFirstProject/orders/__pycache__/__init__.cpython-310.pyc create mode 100644 MyFirstProject/orders/__pycache__/views.cpython-310.pyc create mode 100644 MyFirstProject/orders/admin.py create mode 100644 MyFirstProject/orders/apps.py create mode 100644 MyFirstProject/orders/migrations/__init__.py create mode 100644 MyFirstProject/orders/models.py create mode 100644 MyFirstProject/orders/tests.py create mode 100644 MyFirstProject/orders/views.py diff --git a/MyFirstProject/MyFirstProject/__init__.py b/MyFirstProject/MyFirstProject/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/MyFirstProject/MyFirstProject/__init__.py @@ -0,0 +1 @@ + diff --git a/MyFirstProject/MyFirstProject/__pycache__/__init__.cpython-310.pyc b/MyFirstProject/MyFirstProject/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6977736e44c8aed9f34d239eb5c00fc2eced1131 GIT binary patch literal 168 zcmd1j<>g`kg1YXzNsK`HF^GcPs*$~mSQnzfA3B|;N3sFOWTw=z&hFVg=R0T5p0g`Im&*$9EByFd=gXWR z{2npmzZ5Xf;bp%9L4qkD5hWbaO_&LH%A67-e#(*Dq?wHSl9O`NW;*UCos2tePKyFg z;_MINPcuIY`?LGAW)7vyIg~ap^#pUiC!ow5(Yy@pG_(sSYc8T0;L>OoXzqWStOx@2BK^XM|pp@kIzExt|=(Y%V5&=rtbLRVvYEvDCr*ptj_=!SV6Et@yM+A_Q= zXvMsVZko5yEnUdpwpT?#$d>nQujk7Qb56V-lXrb8*N!&`WxPrKeca`8f7mM7>?Zaw zwK+y|=UBdrV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G$kc6$xK$tCZvRz5HpFyTj_75=w&advvv|kYkOrog!bAW;5YcC zl{j(Y7dRls&PEEAkZNhInbr8sdv9!gc$gws*WZ53PC5wv^vV88AbAd-eF+;w1!574 zt4PL09Qn9Yb!1W`Ax^4p(c=m0@_5x>9o)na_jqr0ZpmF0;-$kEAK&6rt>$8}Hq;5N()9C^XJ8t~}i=D<_1mD;k zpJ{`oHXI8z*G2{iTvwc0jxFbt6vJ9NSKA38OqVuiE2uBDdz7%M9I(~*xyS$bMgYfok%jP0TRkA-$iZak4Z7`3DG2CxGA zJF@ZhIki&{GR|%>I#*@2W8NHjEp)wYlkSvnH{^@h0)Anr@gt(OvSY(#>FR z?%$Ca07lq;za|$JfQX?RswfOw7(v2YIcXmY`SR;^JhA&|`4U$$ghZhfUOYu%C2wxmPS-M;;iejN7ttUxnSC7YmSXUkJ% zo&R8Q28Cz!I%a9w_Y7`obl{ku0$cY9t;LlFCL9y2LV2y>P{SNFn+vN}B_k@3Y&;fq ztyLksLNgx6d8ZMqLJLfph+C}+3{4!a9GfT&&zS>Ar{34@CFc?gm&uthCH~`7V8y}k z7ugY?;=&`BP-|RPU_4*AQt|Xx+zJ_VldxBU&zrk^gGSgte)o3JJI{wF7Z?3OZg`kf+rn!lR)%i5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HserR!OQL%ne zVtHa-VoqXlW>KcTTV_#liEcnqepYI7iN0?om=ELT7o~tS#K&jmWtPOp>lIYq;;_lh RPbtkwwF4Pm%mgG@7ywD`CshCd literal 0 HcmV?d00001 diff --git a/MyFirstProject/orders/__pycache__/views.cpython-310.pyc b/MyFirstProject/orders/__pycache__/views.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b0bf0b1ea52ee8ee18d5c30914206d4a6877ab62 GIT binary patch literal 433 zcmYjN%}T>S5YBFXT5Jo&Cy3qx+Pr{BL6lrt#UF&+Vs|wun{1rfTIy9_z{l`q^d9i! z$ye~?Y+9ki&V2I?Gqc~W9t?IIvX8f~yHCPzOSa7=GA73n1>p#$oRX!C*_u7r~Vib$)2ZiC7bWtb~M!H@(D|`cghFB$}qbCRpnVWz&ImdB*J2 z#%#{XPsp)L!H|R(M$7s1c|Va#>F`#A5(nXRUSLS4T!ocfhRONlG~A0Acr-=e6TCYR z5d4ng8!ss}y7T!Wb{41#TFdYf`i?+5#-t*&;e)wC5lw!eE+YOzrA*!}=o)qOT( GyZjI0+-73{ literal 0 HcmV?d00001 diff --git a/MyFirstProject/orders/admin.py b/MyFirstProject/orders/admin.py new file mode 100644 index 000000000..8c38f3f3d --- /dev/null +++ b/MyFirstProject/orders/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/MyFirstProject/orders/apps.py b/MyFirstProject/orders/apps.py new file mode 100644 index 000000000..8ae0375c4 --- /dev/null +++ b/MyFirstProject/orders/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class OrdersConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'orders' diff --git a/MyFirstProject/orders/migrations/__init__.py b/MyFirstProject/orders/migrations/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/MyFirstProject/orders/models.py b/MyFirstProject/orders/models.py new file mode 100644 index 000000000..71a836239 --- /dev/null +++ b/MyFirstProject/orders/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/MyFirstProject/orders/tests.py b/MyFirstProject/orders/tests.py new file mode 100644 index 000000000..7ce503c2d --- /dev/null +++ b/MyFirstProject/orders/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/MyFirstProject/orders/views.py b/MyFirstProject/orders/views.py new file mode 100644 index 000000000..d6f2cf923 --- /dev/null +++ b/MyFirstProject/orders/views.py @@ -0,0 +1,7 @@ + +from django.shortcuts import render +from django.http import HttpRequest, HttpResponse +# Create your views here. +def hello(request:HttpRequest): + return HttpResponse("Hello World, This is my new HOME !" +) \ No newline at end of file