From c6cbb24fa5a6f789dd49a5aac999cf5d7670207b Mon Sep 17 00:00:00 2001 From: Brent Jericho Uyguangco <89530434+brentjericho@users.noreply.github.com> Date: Sun, 17 Nov 2024 08:18:50 +0000 Subject: [PATCH] I used git add . for this -BJU --- dev/trydjango/Dev2/src/db.sqlite3 | Bin 0 -> 139264 bytes dev/trydjango/Dev2/src/manage.py | 15 +++ dev/trydjango/Dev2/src/products/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 157 bytes .../products/__pycache__/admin.cpython-38.pyc | Bin 0 -> 271 bytes .../__pycache__/models.cpython-38.pyc | Bin 0 -> 582 bytes .../products/__pycache__/views.cpython-38.pyc | Bin 0 -> 389 bytes dev/trydjango/Dev2/src/products/admin.py | 6 + dev/trydjango/Dev2/src/products/apps.py | 5 + .../src/products/migrations/0001_initial.py | 23 ++++ .../migrations/0002_product_summary.py | 18 +++ .../migrations/0003_auto_20241117_0746.py | 28 ++++ .../Dev2/src/products/migrations/__init__.py | 0 .../__pycache__/0001_initial.cpython-38.pyc | Bin 0 -> 683 bytes .../0002_product_summary.cpython-38.pyc | Bin 0 -> 600 bytes .../0003_auto_20241117_0746.cpython-38.pyc | Bin 0 -> 761 bytes .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 168 bytes dev/trydjango/Dev2/src/products/models.py | 8 ++ dev/trydjango/Dev2/src/products/tests.py | 3 + dev/trydjango/Dev2/src/products/views.py | 6 + dev/trydjango/Dev2/src/trydjango/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 158 bytes .../__pycache__/settings.cpython-38.pyc | Bin 0 -> 2317 bytes .../trydjango/__pycache__/urls.cpython-38.pyc | Bin 0 -> 1018 bytes .../trydjango/__pycache__/wsgi.cpython-38.pyc | Bin 0 -> 565 bytes dev/trydjango/Dev2/src/trydjango/settings.py | 121 ++++++++++++++++++ dev/trydjango/Dev2/src/trydjango/urls.py | 24 ++++ dev/trydjango/Dev2/src/trydjango/wsgi.py | 16 +++ 28 files changed, 273 insertions(+) create mode 100644 dev/trydjango/Dev2/src/db.sqlite3 create mode 100755 dev/trydjango/Dev2/src/manage.py create mode 100644 dev/trydjango/Dev2/src/products/__init__.py create mode 100644 dev/trydjango/Dev2/src/products/__pycache__/__init__.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/__pycache__/admin.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/__pycache__/models.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/__pycache__/views.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/admin.py create mode 100644 dev/trydjango/Dev2/src/products/apps.py create mode 100644 dev/trydjango/Dev2/src/products/migrations/0001_initial.py create mode 100644 dev/trydjango/Dev2/src/products/migrations/0002_product_summary.py create mode 100644 dev/trydjango/Dev2/src/products/migrations/0003_auto_20241117_0746.py create mode 100644 dev/trydjango/Dev2/src/products/migrations/__init__.py create mode 100644 dev/trydjango/Dev2/src/products/migrations/__pycache__/0001_initial.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/migrations/__pycache__/0002_product_summary.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/migrations/__pycache__/0003_auto_20241117_0746.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/migrations/__pycache__/__init__.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/products/models.py create mode 100644 dev/trydjango/Dev2/src/products/tests.py create mode 100644 dev/trydjango/Dev2/src/products/views.py create mode 100644 dev/trydjango/Dev2/src/trydjango/__init__.py create mode 100644 dev/trydjango/Dev2/src/trydjango/__pycache__/__init__.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/trydjango/__pycache__/settings.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/trydjango/__pycache__/urls.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/trydjango/__pycache__/wsgi.cpython-38.pyc create mode 100644 dev/trydjango/Dev2/src/trydjango/settings.py create mode 100644 dev/trydjango/Dev2/src/trydjango/urls.py create mode 100644 dev/trydjango/Dev2/src/trydjango/wsgi.py diff --git a/dev/trydjango/Dev2/src/db.sqlite3 b/dev/trydjango/Dev2/src/db.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..3a1614928d4b5eeab8e128f61a5cd662a6aaaeff GIT binary patch literal 139264 zcmeI5du$uYeaCmjmuZn4S+Y!@A16w-&L(uSxl1lZ%D7x~woWJ8qR+N$S!xg4CAp$j z=0oN~vhI)q^!ctuUw<@ckfLa>|KzV0XnQD-wn_d;5ERX!ZBSeaq)iK4`bSWpcPU!5 zDUd7Bncy;yO+YiY%u`OR;>^O@PlJj}g*^|DdbL#w57L92$M!hj%(!e>Jv zK@b%BJ7)fh^zRk=>!iQUjfFjIQ-m`we%D2ozYqLc;3fb6`oH4e^2dBX@V(=^=^O3; zxBfq(M%X|A1V8`;KmY_l00ck)1U?CY&kVYR{cIk*KQGswGv9$T3Nh zrqsw(EY1!lC23Nc3Pq--WASN8IwQqd%((+Jy<$%BgdO&5y2TpUoolrxHIv6k$S6|2h01-cmN>en>p9d$9WjUId5-GazPIM1Q z7&((nCS%DdKl!}iCV3b6SMnDmPrgLnBJY#;KglHxwjclkAOHd&00JNY0w4eaAOHd& z@UuvOcBqf^E_cx7h>F>Dt(Yq{$BOu1hR5e~jCfgRpAV7I#Dnb)hTM(`k;hxZD#wN# zj!CcSjgL;SkqMq|Xn@8vhZvi~gTtcZY%}wMkt=I#45Tu+pQiATO@Vww-Xs4&zD9nZ zY?5DX&mKo000JNY0w4eaAOHd&00JNY0w4eak3!&}^Y~G**+Vz~dU#-SosId|eatz2 zLbR`luzhy8pt&G|t^fCs znm|4z-zDE7UnTF5U!jNCKmY_l00ck)1V8`;KmY_l00ck)1Rj^bkjE(;Kibj%A9Az6 zj{g5qms1!&Ve9i(Y@dBjr!YLs)&;Qszu!TRg6xR*{|Ec%;V3(_`u_(+rw}~e*8gYo z|Hu5_7RV3j?Eg2(yX1H2{{SeEB{D~1WRwg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Hs4@jCqVJMgW~5(Sl&oJ+l%GI love CTI") \ No newline at end of file diff --git a/dev/trydjango/Dev2/src/trydjango/__init__.py b/dev/trydjango/Dev2/src/trydjango/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/dev/trydjango/Dev2/src/trydjango/__pycache__/__init__.cpython-38.pyc b/dev/trydjango/Dev2/src/trydjango/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4906db9dcd706e5376e935cace51dd9a9e21fdeb GIT binary patch literal 158 zcmWIL<>g`kf^Rb{(?RrO5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HsetCXTc5y*s za%!=@OIBiDdcI3)ZoYm>YMFjXQDq8PMBgQ~%t*huC>cp8K0Y%qvm`!Vub}c4hfQvN PN@-529mw#{K+FIDm%%37 literal 0 HcmV?d00001 diff --git a/dev/trydjango/Dev2/src/trydjango/__pycache__/settings.cpython-38.pyc b/dev/trydjango/Dev2/src/trydjango/__pycache__/settings.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d6978b81faae4193313cdc706cede23ec8daf11f GIT binary patch literal 2317 zcmb7F+j84P7`7F~cHAUQo1SP32qLsi~(vWFor(U7(TmuVp1VINEhg z^eknDUh*zHfo{3t1(+$*q5P5^N8@ycAX)3xf8KAuf7Mx9D(CQ;|K)4DvY5;Lk-TKD z623gbhyIQOa0A}4c_$AyU+{KbUxHiuGTerD(`*+> z0p5Gb!TT>bC$F!703V>G03W8~N9lOS$=kes2|m^@!(Dw9Yq^5YReY|&J^eaxTCQ^6 z6!W=US=l#zI}j*g%<*k1^ny@e;W3QGgD}`978A?mZQ_&AWCVonv2bs!UNgaSe1S4E zWE0DK!jNJdVG?#jTo<>{`w2$%f{+M~j|n`JIe{A2)GtbmmJj1A~Fk_3T8 z#c__43ar4Bh%aG4i3J14qS8sp(l|Wp6QMVBUBPuI6N299l1v{k5phD{$aIH<{-0bS z>17iAi6qE1qmAHT?eM#e?iTR}o14+ye)o&YzB&47bO84&_TbK1M8gW%FdkTkqfrmm zyIXhK(UtLfL@V%F=yb&tyJ&S*I%NIm){HQ5AwFZr145(gGfGM*MKsSUJXDxAdfc4# zV2Hn!picD?;tNBI(P(XADEjwCW4r)L&kT+&#_Y8WgKT0aROP^xiN+@5C?JIE@x-^m|aTxIiF1D7~#Q?;I6Y7gf+JxMg-Cw+R-QHunfr|HVBJ8o!Cyvnjrd?$O+QX=8W+a z#kV+|=qh|%d@NU=sZB-amD;Wrm*kxtBb^mnJMCJlsYN$W0UJ@<5zWB>aZWceE&}P9 zLzhk24c$}x=%MQ{vKf_8IGIBJ5tq0ExT9WtUhp5vNHXFMNU1Yz{>ypbA??|4J6PJEm7PyN3?um8AFb|y8R26%Md z0L`ICLdQBAVV?MFLmJO@+SRBe;i--tBUNt1MZ>@Y*)U=*pfNu%Ss&4NLLW&U7tJnB zB_+d1P87q?OOItuO?EOaYie~@Z5z+jALDsNecaiOm*jfAwWlh^)0WoO;^kUXYoiDS zxcypOZqyW|uI|aZYP`7HYPF5dZoS%SK8Y9FYGbD^w^c1(+0(XbiG96Rl@q4K{C?p0 z@q!|^v?z73 z?ArQQ&GD?h{&_PlB(k=SD`{h!TxiH252bn@{M2gh;gTMy4*mpsJpagHA0z%Q2OZWsAEp5qH#K6Ag~FJ#{G+$+A! n^QnZJ%3pJDxYzs}euXb4vc-RJzQpBF%AXnk;#V=p_%8el4)zdD literal 0 HcmV?d00001 diff --git a/dev/trydjango/Dev2/src/trydjango/__pycache__/urls.cpython-38.pyc b/dev/trydjango/Dev2/src/trydjango/__pycache__/urls.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f1577045fa680cf9418b5c121220b5acf92d5c7c GIT binary patch literal 1018 zcma)5L2uJA6n4_I>#}bA1>f38Bi43X1q`$?F@!h(yX4Y&@oSqB$C2%Jlq+X`1V{c- zuAKM_91zcLiy|bXS&HTN^8CH;`)uDF9>xR*d^?++bqM+4g7)ZQ@Ekw$8Ye+AA_5VX zfef=SaO+Olkx>@;byRj`FY5&aBGHB3Vo&tM-q#LBeFzu*#r~IY7G|;7e@~K_>yQwu z*J8n|nW8uE-p~tGO^ex5b6cn?jz7$S-Y#`nb8A6Y=9ZR)u~e(21>-gtY871-aBot2 zr8JdF11+kl($YiFx&&^38h~+3am=l)&6qKva+7Wv*IF$gw`r~1{VwrJ#wXAZ-ZqwF-o}~1J5R_N6khRiwOzBiBN#%ON>w24P)t_$by<`;7 zQixko?0hsF9&dHcm4stjaS2a{Zaqxmi;^4j_zs1M7V7_4C_4x3h@{@A9i3N*<=H=w zjjK<&nK+P9@(-iyDleC!sAgz_@8_iDc$hnXuDvl7so?RrS{NmCy0vn=v1@Z2sWW^> za$9@sO?fceyHd><8o28;bP10;Op^E~USpC3O_vK58SH|!Etr_AWQm2$9Yy>9wXB=#@i VS%8>kfK&8n5DdaW=O`Hb{sWd-JC^_e literal 0 HcmV?d00001 diff --git a/dev/trydjango/Dev2/src/trydjango/__pycache__/wsgi.cpython-38.pyc b/dev/trydjango/Dev2/src/trydjango/__pycache__/wsgi.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..11ebb01d013291fc7478518637714aba87a36f64 GIT binary patch literal 565 zcmYjPO-~y!5cN8Ngl(y+3ia%3q_S?gwW|6dEsavqa0mz~myNrgY@B-Sm2EbJYmfZ{ z9O1}Ms;`{-2RLxTo2V!w`B^ignfGSw)7{+|1-rj`U;K#>x@(+GYX|2`IQDG-j>d>b z9Ls1Ng}Wtj*&4SZ1kt>Gy~W#n>jnp}^&5@1IUb?j_T}IBY}6l+T&t-l$W$BR%#zQU zDm1B#oWPYHxs!bqw4xrBWQHAqr3BUUNJO5kKNVO1qX z&YaL{G70^@1)fqHAVLMoa+M%jh33MNsgUr7Sb%uuTxCB{%5`p&wW$A^a$QnT^dNah zXL{i@_vXB0GBnfY(s{Boqqp1>>p>N!;_Q2us_Ov9H*y8 zhnKIO=1(j*Csbj39pA~aAR@~=*4DpVOG)xDLDDofI8gZxs9G4Ud>jfnOxd|~{@DiS zEi%nxuHfM_U1;;mRxAfg)78RLD4RKI`Xqs-P#;ih@{LeKm{d#O{kY!wr|>P1?FMM? Kbn$ci0zU%5lCik} literal 0 HcmV?d00001 diff --git a/dev/trydjango/Dev2/src/trydjango/settings.py b/dev/trydjango/Dev2/src/trydjango/settings.py new file mode 100644 index 0000000000..633901a494 --- /dev/null +++ b/dev/trydjango/Dev2/src/trydjango/settings.py @@ -0,0 +1,121 @@ +""" +Django settings for trydjango project. + +Generated by 'django-admin startproject' using Django 2.1.7. + +For more information on this file, see +https://docs.djangoproject.com/en/2.1/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/2.1/ref/settings/ +""" + +import os + +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'ok-q=2b7enp33z&hb5)jaw^wkd()gp$-zsr)e2_4cqwwfd1b7$' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'products', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'trydjango.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'trydjango.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/2.1/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + } +} + + +# Password validation +# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/2.1/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_L10N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/2.1/howto/static-files/ + +STATIC_URL = '/static/' diff --git a/dev/trydjango/Dev2/src/trydjango/urls.py b/dev/trydjango/Dev2/src/trydjango/urls.py new file mode 100644 index 0000000000..ba135b24dd --- /dev/null +++ b/dev/trydjango/Dev2/src/trydjango/urls.py @@ -0,0 +1,24 @@ +"""trydjango URL Configuration + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/2.1/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +from products import views + +urlpatterns = [ + path('', views.home_view, name = 'home'), + path('admin/', admin.site.urls), +] diff --git a/dev/trydjango/Dev2/src/trydjango/wsgi.py b/dev/trydjango/Dev2/src/trydjango/wsgi.py new file mode 100644 index 0000000000..47a28f9ce2 --- /dev/null +++ b/dev/trydjango/Dev2/src/trydjango/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for trydjango project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trydjango.settings') + +application = get_wsgi_application()