diff --git a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin index cede51e4ab190cb1f847042b55ad1414279b1446..02c358127bf465317a4b082de9684ead9bf28c8e 100644 --- a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin +++ b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a28a74a9c1e4a9630d9c06d28c53c13a8ee77712a6be89e30fcd44245adff29 +oid sha256:f0dc6ffb67395cf1604621d6906cbd447a423283e6a817d7d651f379ce21cc64 size 4000 diff --git a/chroma/chroma.sqlite3 b/chroma/chroma.sqlite3 index fdfa7ea97c2b9c5f573d5c4ab6ce1efdc9a0c8bd..490c29e0fd08bcdf269fb819d324a8a32e9566e0 100644 --- a/chroma/chroma.sqlite3 +++ b/chroma/chroma.sqlite3 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a72f195f0ceaaa3f38e1145a772eeb42d267938cfb3b90016ce7258dc61df896 -size 253952 +oid sha256:ed7081a17faa174eb677abcd488f44a3935f7908abac201fa8e04e1c03bc848c +size 487424 diff --git a/controllers/gpt_enginner20240629111233 b/controllers/gpt_enginner20240629111233 new file mode 160000 index 0000000000000000000000000000000000000000..61efaeda3abb3a6e95886aa833a62830c0796c93 --- /dev/null +++ b/controllers/gpt_enginner20240629111233 @@ -0,0 +1 @@ +Subproject commit 61efaeda3abb3a6e95886aa833a62830c0796c93 diff --git a/controllers/gpt_enginner20240629111940 b/controllers/gpt_enginner20240629111940 new file mode 160000 index 0000000000000000000000000000000000000000..77876207f83ab78db372079b31e209e73d9162f1 --- /dev/null +++ b/controllers/gpt_enginner20240629111940 @@ -0,0 +1 @@ +Subproject commit 77876207f83ab78db372079b31e209e73d9162f1 diff --git a/controllers/gpt_enginner20240629112409 b/controllers/gpt_enginner20240629112409 new file mode 160000 index 0000000000000000000000000000000000000000..96350fd340e4b4b5cd0fcf197ca86433a00106fe --- /dev/null +++ b/controllers/gpt_enginner20240629112409 @@ -0,0 +1 @@ +Subproject commit 96350fd340e4b4b5cd0fcf197ca86433a00106fe diff --git a/controllers/gpt_enginner20240629113125 b/controllers/gpt_enginner20240629113125 new file mode 160000 index 0000000000000000000000000000000000000000..964f8bb8840ac32235aacb7cfacc1f897d38d7d7 --- /dev/null +++ b/controllers/gpt_enginner20240629113125 @@ -0,0 +1 @@ +Subproject commit 964f8bb8840ac32235aacb7cfacc1f897d38d7d7 diff --git a/controllers/gpt_enginner20240629113425 b/controllers/gpt_enginner20240629113425 new file mode 160000 index 0000000000000000000000000000000000000000..a5e29b4ac1f5f1194f8d9c27d8bd41af08f5f142 --- /dev/null +++ b/controllers/gpt_enginner20240629113425 @@ -0,0 +1 @@ +Subproject commit a5e29b4ac1f5f1194f8d9c27d8bd41af08f5f142 diff --git a/controllers/gpt_enginner20240629113636 b/controllers/gpt_enginner20240629113636 new file mode 160000 index 0000000000000000000000000000000000000000..d0d70c215eb46439f388707d2b4ade71bad27646 --- /dev/null +++ b/controllers/gpt_enginner20240629113636 @@ -0,0 +1 @@ +Subproject commit d0d70c215eb46439f388707d2b4ade71bad27646 diff --git a/controllers/gpt_enginner20240629114119 b/controllers/gpt_enginner20240629114119 new file mode 160000 index 0000000000000000000000000000000000000000..e2c929c78b1aa124cb4e2dea734e6b9e5bebe6d8 --- /dev/null +++ b/controllers/gpt_enginner20240629114119 @@ -0,0 +1 @@ +Subproject commit e2c929c78b1aa124cb4e2dea734e6b9e5bebe6d8 diff --git a/controllers/gpt_enginner20240629114216 b/controllers/gpt_enginner20240629114216 new file mode 160000 index 0000000000000000000000000000000000000000..05328db04addae02d2d56dcf71295e04ba4db545 --- /dev/null +++ b/controllers/gpt_enginner20240629114216 @@ -0,0 +1 @@ +Subproject commit 05328db04addae02d2d56dcf71295e04ba4db545 diff --git a/controllers/gpt_enginner20240629114332 b/controllers/gpt_enginner20240629114332 new file mode 160000 index 0000000000000000000000000000000000000000..659f6c3ee468efc1f34503a0f2781f9f514a109a --- /dev/null +++ b/controllers/gpt_enginner20240629114332 @@ -0,0 +1 @@ +Subproject commit 659f6c3ee468efc1f34503a0f2781f9f514a109a diff --git a/controllers/gpt_enginner20240629114448 b/controllers/gpt_enginner20240629114448 new file mode 160000 index 0000000000000000000000000000000000000000..d9ec58f672b4106c47a248829058622a40c20f53 --- /dev/null +++ b/controllers/gpt_enginner20240629114448 @@ -0,0 +1 @@ +Subproject commit d9ec58f672b4106c47a248829058622a40c20f53 diff --git a/controllers/gpt_enginner20240629114523 b/controllers/gpt_enginner20240629114523 new file mode 160000 index 0000000000000000000000000000000000000000..0f92516a2e88ca86ae0c267692842468c2614779 --- /dev/null +++ b/controllers/gpt_enginner20240629114523 @@ -0,0 +1 @@ +Subproject commit 0f92516a2e88ca86ae0c267692842468c2614779 diff --git a/controllers/gpt_enginner20240629114914 b/controllers/gpt_enginner20240629114914 new file mode 160000 index 0000000000000000000000000000000000000000..ffe8554a1b4ebec4d8c0d8ec41bbb96920ce7017 --- /dev/null +++ b/controllers/gpt_enginner20240629114914 @@ -0,0 +1 @@ +Subproject commit ffe8554a1b4ebec4d8c0d8ec41bbb96920ce7017 diff --git a/controllers/gpt_enginner20240629115119 b/controllers/gpt_enginner20240629115119 new file mode 160000 index 0000000000000000000000000000000000000000..ee472711bcb581ca7bce59f84ffdf390d97a19dc --- /dev/null +++ b/controllers/gpt_enginner20240629115119 @@ -0,0 +1 @@ +Subproject commit ee472711bcb581ca7bce59f84ffdf390d97a19dc diff --git a/controllers/gpt_enginner20240629122316 b/controllers/gpt_enginner20240629122316 new file mode 160000 index 0000000000000000000000000000000000000000..0667ba6b0e1bfdffdfa188d81a43cca9c7b77f96 --- /dev/null +++ b/controllers/gpt_enginner20240629122316 @@ -0,0 +1 @@ +Subproject commit 0667ba6b0e1bfdffdfa188d81a43cca9c7b77f96 diff --git a/controllers/gpt_enginner20240629122430 b/controllers/gpt_enginner20240629122430 new file mode 160000 index 0000000000000000000000000000000000000000..0e63b793e25063bd5223d60f9b63d873ac586079 --- /dev/null +++ b/controllers/gpt_enginner20240629122430 @@ -0,0 +1 @@ +Subproject commit 0e63b793e25063bd5223d60f9b63d873ac586079 diff --git a/controllers/gpt_enginner20240629122544 b/controllers/gpt_enginner20240629122544 new file mode 160000 index 0000000000000000000000000000000000000000..82489b112fcb4bde0c0f3efbbb6f9bd07466e673 --- /dev/null +++ b/controllers/gpt_enginner20240629122544 @@ -0,0 +1 @@ +Subproject commit 82489b112fcb4bde0c0f3efbbb6f9bd07466e673 diff --git a/controllers/gpt_enginner20240629122650 b/controllers/gpt_enginner20240629122650 new file mode 160000 index 0000000000000000000000000000000000000000..e3ec97c02e0c83c7d25688f27e21020ae45b09a7 --- /dev/null +++ b/controllers/gpt_enginner20240629122650 @@ -0,0 +1 @@ +Subproject commit e3ec97c02e0c83c7d25688f27e21020ae45b09a7 diff --git a/controllers/gpt_enginner20240629122814 b/controllers/gpt_enginner20240629122814 new file mode 160000 index 0000000000000000000000000000000000000000..7be417d634cae23e49fe87066d13b09ae6c00f3f --- /dev/null +++ b/controllers/gpt_enginner20240629122814 @@ -0,0 +1 @@ +Subproject commit 7be417d634cae23e49fe87066d13b09ae6c00f3f diff --git a/controllers/gpt_enginner20240629123200 b/controllers/gpt_enginner20240629123200 new file mode 160000 index 0000000000000000000000000000000000000000..79db73ab917885173ca549153c75932b0101a201 --- /dev/null +++ b/controllers/gpt_enginner20240629123200 @@ -0,0 +1 @@ +Subproject commit 79db73ab917885173ca549153c75932b0101a201 diff --git a/controllers/gpt_enginner20240629123341 b/controllers/gpt_enginner20240629123341 new file mode 160000 index 0000000000000000000000000000000000000000..b2c0c73164d813015d992f921531484635fc839b --- /dev/null +++ b/controllers/gpt_enginner20240629123341 @@ -0,0 +1 @@ +Subproject commit b2c0c73164d813015d992f921531484635fc839b diff --git a/controllers/gpt_enginner20240629123526 b/controllers/gpt_enginner20240629123526 new file mode 160000 index 0000000000000000000000000000000000000000..2698c0ed120daf7a69066c417f1a125e813c997c --- /dev/null +++ b/controllers/gpt_enginner20240629123526 @@ -0,0 +1 @@ +Subproject commit 2698c0ed120daf7a69066c417f1a125e813c997c diff --git a/controllers/gpt_enginner20240629123805 b/controllers/gpt_enginner20240629123805 new file mode 160000 index 0000000000000000000000000000000000000000..4649bd1c3dfb78076c502f8b6d5ef5260f4aff6d --- /dev/null +++ b/controllers/gpt_enginner20240629123805 @@ -0,0 +1 @@ +Subproject commit 4649bd1c3dfb78076c502f8b6d5ef5260f4aff6d diff --git a/controllers/gpt_enginner20240629123853 b/controllers/gpt_enginner20240629123853 new file mode 160000 index 0000000000000000000000000000000000000000..167333f8ec69ff6fe79ce221f32666e10a5c2fc1 --- /dev/null +++ b/controllers/gpt_enginner20240629123853 @@ -0,0 +1 @@ +Subproject commit 167333f8ec69ff6fe79ce221f32666e10a5c2fc1 diff --git a/controllers/gpt_enginner20240629124043 b/controllers/gpt_enginner20240629124043 new file mode 160000 index 0000000000000000000000000000000000000000..1bd5554bb230ca8a1606fd0d97d4cc96ebeff360 --- /dev/null +++ b/controllers/gpt_enginner20240629124043 @@ -0,0 +1 @@ +Subproject commit 1bd5554bb230ca8a1606fd0d97d4cc96ebeff360 diff --git a/controllers/gpt_enginner20240629124554 b/controllers/gpt_enginner20240629124554 new file mode 160000 index 0000000000000000000000000000000000000000..986f0a22b43c20652e9eaed76d797273fb3345b9 --- /dev/null +++ b/controllers/gpt_enginner20240629124554 @@ -0,0 +1 @@ +Subproject commit 986f0a22b43c20652e9eaed76d797273fb3345b9 diff --git a/controllers/gpt_enginner20240629124712 b/controllers/gpt_enginner20240629124712 new file mode 160000 index 0000000000000000000000000000000000000000..26a6279245fe063efcc6d37a3f21effb6cf30939 --- /dev/null +++ b/controllers/gpt_enginner20240629124712 @@ -0,0 +1 @@ +Subproject commit 26a6279245fe063efcc6d37a3f21effb6cf30939 diff --git a/controllers/gpt_enginner20240629124903 b/controllers/gpt_enginner20240629124903 new file mode 160000 index 0000000000000000000000000000000000000000..5cfe5f6e76a37e283afec1bfc633e8c7b1bef14e --- /dev/null +++ b/controllers/gpt_enginner20240629124903 @@ -0,0 +1 @@ +Subproject commit 5cfe5f6e76a37e283afec1bfc633e8c7b1bef14e diff --git a/controllers/gpt_enginner20240629125220 b/controllers/gpt_enginner20240629125220 new file mode 160000 index 0000000000000000000000000000000000000000..b8808d3d163c3ba498f25566eb30e1b743a9609e --- /dev/null +++ b/controllers/gpt_enginner20240629125220 @@ -0,0 +1 @@ +Subproject commit b8808d3d163c3ba498f25566eb30e1b743a9609e diff --git a/controllers/gpt_enginner20240629125609 b/controllers/gpt_enginner20240629125609 new file mode 160000 index 0000000000000000000000000000000000000000..462f48fb674754286c935bd639a0060308bf8ce8 --- /dev/null +++ b/controllers/gpt_enginner20240629125609 @@ -0,0 +1 @@ +Subproject commit 462f48fb674754286c935bd639a0060308bf8ce8 diff --git a/controllers/gpt_enginner20240629125913 b/controllers/gpt_enginner20240629125913 new file mode 160000 index 0000000000000000000000000000000000000000..c5050d3078e424aa542a412d778fe460ca34b27c --- /dev/null +++ b/controllers/gpt_enginner20240629125913 @@ -0,0 +1 @@ +Subproject commit c5050d3078e424aa542a412d778fe460ca34b27c diff --git a/controllers/gpt_enginner20240629130254 b/controllers/gpt_enginner20240629130254 new file mode 160000 index 0000000000000000000000000000000000000000..33cbb64b93181551c0f54e261a5d8063dce44349 --- /dev/null +++ b/controllers/gpt_enginner20240629130254 @@ -0,0 +1 @@ +Subproject commit 33cbb64b93181551c0f54e261a5d8063dce44349 diff --git a/controllers/gpt_enginner20240629130350 b/controllers/gpt_enginner20240629130350 new file mode 160000 index 0000000000000000000000000000000000000000..040072a981daebcf29664db02c61b09b87c3d022 --- /dev/null +++ b/controllers/gpt_enginner20240629130350 @@ -0,0 +1 @@ +Subproject commit 040072a981daebcf29664db02c61b09b87c3d022 diff --git a/controllers/gpt_enginner20240629130632 b/controllers/gpt_enginner20240629130632 new file mode 160000 index 0000000000000000000000000000000000000000..db2527adee1650f70d0915d5d461263794af8191 --- /dev/null +++ b/controllers/gpt_enginner20240629130632 @@ -0,0 +1 @@ +Subproject commit db2527adee1650f70d0915d5d461263794af8191 diff --git a/controllers/gpt_enginner20240629130755 b/controllers/gpt_enginner20240629130755 new file mode 160000 index 0000000000000000000000000000000000000000..6e18fe7784712d7c1e193a4e77ead6a6eba3176f --- /dev/null +++ b/controllers/gpt_enginner20240629130755 @@ -0,0 +1 @@ +Subproject commit 6e18fe7784712d7c1e193a4e77ead6a6eba3176f diff --git a/controllers/gpt_enginner20240629132856 b/controllers/gpt_enginner20240629132856 new file mode 160000 index 0000000000000000000000000000000000000000..6ad7ef39610e9deda9e1fbad1ab1a7c1a66e3e2e --- /dev/null +++ b/controllers/gpt_enginner20240629132856 @@ -0,0 +1 @@ +Subproject commit 6ad7ef39610e9deda9e1fbad1ab1a7c1a66e3e2e diff --git a/controllers/gpt_enginner20240629133057 b/controllers/gpt_enginner20240629133057 new file mode 160000 index 0000000000000000000000000000000000000000..f62bfe1273548ba567404e69e6008baaec502e9e --- /dev/null +++ b/controllers/gpt_enginner20240629133057 @@ -0,0 +1 @@ +Subproject commit f62bfe1273548ba567404e69e6008baaec502e9e diff --git a/controllers/gpt_enginner20240629133153 b/controllers/gpt_enginner20240629133153 new file mode 160000 index 0000000000000000000000000000000000000000..7358e94920f46b3b973092ad093db02bb39c4431 --- /dev/null +++ b/controllers/gpt_enginner20240629133153 @@ -0,0 +1 @@ +Subproject commit 7358e94920f46b3b973092ad093db02bb39c4431 diff --git a/controllers/gpt_enginner20240629133322 b/controllers/gpt_enginner20240629133322 new file mode 160000 index 0000000000000000000000000000000000000000..76df9a855f5315d15a63e9ba3b2ae61136e9f5bc --- /dev/null +++ b/controllers/gpt_enginner20240629133322 @@ -0,0 +1 @@ +Subproject commit 76df9a855f5315d15a63e9ba3b2ae61136e9f5bc diff --git a/controllers/gpt_enginner20240629133545 b/controllers/gpt_enginner20240629133545 new file mode 160000 index 0000000000000000000000000000000000000000..a86a1efdd279567d1f11efc96b8d760241b88125 --- /dev/null +++ b/controllers/gpt_enginner20240629133545 @@ -0,0 +1 @@ +Subproject commit a86a1efdd279567d1f11efc96b8d760241b88125 diff --git a/controllers/gpt_enginner20240629133813 b/controllers/gpt_enginner20240629133813 new file mode 160000 index 0000000000000000000000000000000000000000..688f9826bd340f5f7f03f601a1e5d5b60aea0c6d --- /dev/null +++ b/controllers/gpt_enginner20240629133813 @@ -0,0 +1 @@ +Subproject commit 688f9826bd340f5f7f03f601a1e5d5b60aea0c6d diff --git a/controllers/gpt_enginner20240629134025 b/controllers/gpt_enginner20240629134025 new file mode 160000 index 0000000000000000000000000000000000000000..5ae6f33c64b84a0bb936c1d699fa6598a46a2548 --- /dev/null +++ b/controllers/gpt_enginner20240629134025 @@ -0,0 +1 @@ +Subproject commit 5ae6f33c64b84a0bb936c1d699fa6598a46a2548 diff --git a/controllers/gpt_enginner20240629134241 b/controllers/gpt_enginner20240629134241 new file mode 160000 index 0000000000000000000000000000000000000000..7aa006a338c6f1e4660d0e266d37f4d0bf9ac9b3 --- /dev/null +++ b/controllers/gpt_enginner20240629134241 @@ -0,0 +1 @@ +Subproject commit 7aa006a338c6f1e4660d0e266d37f4d0bf9ac9b3 diff --git a/controllers/gpt_enginner20240629134920 b/controllers/gpt_enginner20240629134920 new file mode 160000 index 0000000000000000000000000000000000000000..e0299e7f2eee58194c3d3077e39b7d8a4fe5a12a --- /dev/null +++ b/controllers/gpt_enginner20240629134920 @@ -0,0 +1 @@ +Subproject commit e0299e7f2eee58194c3d3077e39b7d8a4fe5a12a diff --git a/controllers/gpt_enginner20240629135023 b/controllers/gpt_enginner20240629135023 new file mode 160000 index 0000000000000000000000000000000000000000..d14a6596e3fd880fe1da98db2489affdfc69c37b --- /dev/null +++ b/controllers/gpt_enginner20240629135023 @@ -0,0 +1 @@ +Subproject commit d14a6596e3fd880fe1da98db2489affdfc69c37b diff --git a/controllers/gpt_enginner20240629135238 b/controllers/gpt_enginner20240629135238 new file mode 160000 index 0000000000000000000000000000000000000000..a31b620ee6ab3dbc32583b13d6aad4e0f6674c01 --- /dev/null +++ b/controllers/gpt_enginner20240629135238 @@ -0,0 +1 @@ +Subproject commit a31b620ee6ab3dbc32583b13d6aad4e0f6674c01 diff --git a/controllers/gpt_enginner20240629135531 b/controllers/gpt_enginner20240629135531 new file mode 160000 index 0000000000000000000000000000000000000000..5e408e0d074e69fb9521873ce4322b4dc438e4f7 --- /dev/null +++ b/controllers/gpt_enginner20240629135531 @@ -0,0 +1 @@ +Subproject commit 5e408e0d074e69fb9521873ce4322b4dc438e4f7 diff --git a/controllers/gpt_enginner20240629140100 b/controllers/gpt_enginner20240629140100 new file mode 160000 index 0000000000000000000000000000000000000000..6f93ff4a69e98f909524616d42f78f994761db9e --- /dev/null +++ b/controllers/gpt_enginner20240629140100 @@ -0,0 +1 @@ +Subproject commit 6f93ff4a69e98f909524616d42f78f994761db9e diff --git a/controllers/gpt_enginner20240629140153 b/controllers/gpt_enginner20240629140153 new file mode 160000 index 0000000000000000000000000000000000000000..fcae383693e4a34a7f1ad5608ecaa8a036653f69 --- /dev/null +++ b/controllers/gpt_enginner20240629140153 @@ -0,0 +1 @@ +Subproject commit fcae383693e4a34a7f1ad5608ecaa8a036653f69 diff --git a/controllers/gpt_enginner20240629140308 b/controllers/gpt_enginner20240629140308 new file mode 160000 index 0000000000000000000000000000000000000000..9e8686e3c3399d6b9e1f35239ebcf6d5aa7ea4c1 --- /dev/null +++ b/controllers/gpt_enginner20240629140308 @@ -0,0 +1 @@ +Subproject commit 9e8686e3c3399d6b9e1f35239ebcf6d5aa7ea4c1 diff --git a/controllers/gpt_enginner20240629140434 b/controllers/gpt_enginner20240629140434 new file mode 160000 index 0000000000000000000000000000000000000000..a3cee8d4b0accf228fd8d555961db09d47ab4824 --- /dev/null +++ b/controllers/gpt_enginner20240629140434 @@ -0,0 +1 @@ +Subproject commit a3cee8d4b0accf228fd8d555961db09d47ab4824 diff --git a/controllers/gpt_enginner20240629140734 b/controllers/gpt_enginner20240629140734 new file mode 160000 index 0000000000000000000000000000000000000000..e291b37078e9ee7c80ec5a4e396f0abf9685e6ed --- /dev/null +++ b/controllers/gpt_enginner20240629140734 @@ -0,0 +1 @@ +Subproject commit e291b37078e9ee7c80ec5a4e396f0abf9685e6ed diff --git a/gold_division_project/gold_division/__init__.py b/gold_division_project/gold_division/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/gold_division/admin.py b/gold_division_project/gold_division/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_division_project/gold_division/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_division_project/gold_division/apps.py b/gold_division_project/gold_division/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9e8e22ec313287b59ba4ad4258e2f3aecebae466 --- /dev/null +++ b/gold_division_project/gold_division/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldDivisionConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold_division' diff --git a/gold_division_project/gold_division/migrations/__init__.py b/gold_division_project/gold_division/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/gold_division/models.py b/gold_division_project/gold_division/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_division_project/gold_division/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_division_project/gold_division/tests.py b/gold_division_project/gold_division/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_division_project/gold_division/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_division_project/gold_division/views.py b/gold_division_project/gold_division/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_division_project/gold_division/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_division_project/gold_division_project/__init__.py b/gold_division_project/gold_division_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/gold_division_project/asgi.py b/gold_division_project/gold_division_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..8f469fbd51d381e8bf6e14a20471c66e05f62eaf --- /dev/null +++ b/gold_division_project/gold_division_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_division_project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_division_project.settings') + +application = get_asgi_application() diff --git a/gold_division_project/gold_division_project/settings.py b/gold_division_project/gold_division_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..3449d3254bd288e5b9cd4c5edf653fd9673c5b87 --- /dev/null +++ b/gold_division_project/gold_division_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_division_project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-ixr0a8nma_irb_uog1ldkh9pi@umgcb(6nmn#7+9%_jjroy2a+' + +# 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', +] + +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 = 'gold_division_project.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 = 'gold_division_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/gold_division_project/gold_division_project/urls.py b/gold_division_project/gold_division_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..a706695b58ecac3ef4ab5466e441a8267158217e --- /dev/null +++ b/gold_division_project/gold_division_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_division_project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/gold_division_project/gold_division_project/wsgi.py b/gold_division_project/gold_division_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..25543c2f93be41d608070d0a44fa5efc99269749 --- /dev/null +++ b/gold_division_project/gold_division_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_division_project 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_division_project.settings') + +application = get_wsgi_application() diff --git a/gold_division_project/manage.py b/gold_division_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..389bcddef7966105223e57622c3871c2df6b83df --- /dev/null +++ b/gold_division_project/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_division_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/gold_division_project/workspace/workspace/mynewproject/manage.py b/gold_division_project/workspace/workspace/mynewproject/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mynewproject.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/__init__.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/admin.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/apps.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..878e8748071e9ce7bdc1564f157816978996eb2b --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MynewappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mynewapp' diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/migrations/__init__.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/models.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/tests.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewapp/views.py b/gold_division_project/workspace/workspace/mynewproject/mynewapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewproject/__init__.py b/gold_division_project/workspace/workspace/mynewproject/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewproject/asgi.py b/gold_division_project/workspace/workspace/mynewproject/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewproject/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for mynewproject project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mynewproject.settings') + +application = get_asgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewproject/settings.py b/gold_division_project/workspace/workspace/mynewproject/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..de5aee61d7381de39c0461b847f9d11a7cb4a880 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewproject/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for mynewproject project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-1lkkw-r=3%ug3_7cjc%fszi7bp&kyd8relt%4=7-lt6-!$ni==' + +# 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', +] + +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 = 'mynewproject.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 = 'mynewproject.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewproject/urls.py b/gold_division_project/workspace/workspace/mynewproject/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewproject/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for mynewproject project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/gold_division_project/workspace/workspace/mynewproject/mynewproject/wsgi.py b/gold_division_project/workspace/workspace/mynewproject/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/mynewproject/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for mynewproject 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mynewproject.settings') + +application = get_wsgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/admin.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/api/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/apps.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..66656fd29b2cc651c92dc03b2eaf6ef9a4397df0 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/api/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ApiConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'api' diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/migrations/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/models.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/api/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/tests.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/api/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/api/views.py b/gold_division_project/workspace/workspace/mynewproject/workspace/api/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/api/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e358f75e397269065dfe6d601a112139bacc82ec --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_app project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') + +application = get_asgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..3a326c33f46f38b7f010221c6bcd5749a0679003 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_app project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-+&#xs7f_j6p5a+rbois56gzxi7gz-6ru8uy%t0u%yl$bqng&q2' + +# 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', +] + +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 = 'gold_app.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 = 'gold_app.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e23b0e30153a3c3383792a441157a46539bf7430 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_app project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..f7b117b1f8e87cff512805de437ffafa2a9620e9 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_app 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') + +application = get_wsgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/manage.py b/gold_division_project/workspace/workspace/mynewproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..c8a341e2adc3bb6a1e91cc799a23104353b6f279 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/admin.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/apps.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..66656fd29b2cc651c92dc03b2eaf6ef9a4397df0 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ApiConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'api' diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/migrations/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/models.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/tests.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/views.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/api/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/asgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..ddd003809b720accb05d55ea4f286cd7c6df802a --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for goldassessment project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldassessment.settings') + +application = get_asgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/settings.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..74fc0721b4eacedf99fab37a360012f3917dcaea --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for goldassessment project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-!m2pubje@2dts8qvmf*8(tg8q5wae9_v^j$8-9*em9+6g7olr$' + +# 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', +] + +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 = 'goldassessment.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 = 'goldassessment.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/urls.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..8f3e06d49bdd0b6a89be38a8048074a2f8dd6e60 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for goldassessment project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/wsgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..8eed473658eee74cfa3fe75488e46a6dff2995d8 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/goldassessment/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for goldassessment 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldassessment.settings') + +application = get_wsgi_application() diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/admin.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/apps.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b55b3f6bab9d5de0c17530d0fb7062ff0947df59 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MainAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'main_app' diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/migrations/__init__.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/models.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/tests.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/views.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/main_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/manage.py b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8a10361f8baf63e9b83399b24ccbc74b447565b4 --- /dev/null +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/workspace/workspace/goldassessment/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'goldassessment.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/project_workspace/manage.py b/project_workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..5612a361b0a1c9f08d283091b37ebeacf232abcd --- /dev/null +++ b/project_workspace/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project_workspace.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/project_workspace/my_app/__init__.py b/project_workspace/my_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/project_workspace/my_app/admin.py b/project_workspace/my_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/project_workspace/my_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/project_workspace/my_app/apps.py b/project_workspace/my_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e360eca64e3dff54944f5bec76494b47bf2adf00 --- /dev/null +++ b/project_workspace/my_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'my_app' diff --git a/project_workspace/my_app/migrations/__init__.py b/project_workspace/my_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/project_workspace/my_app/models.py b/project_workspace/my_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/project_workspace/my_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/project_workspace/my_app/tests.py b/project_workspace/my_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/project_workspace/my_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/project_workspace/my_app/views.py b/project_workspace/my_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/project_workspace/my_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/project_workspace/project_workspace/__init__.py b/project_workspace/project_workspace/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/project_workspace/project_workspace/asgi.py b/project_workspace/project_workspace/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..85825d7eea7a53e6ad4fe905912a583d80c3e4f9 --- /dev/null +++ b/project_workspace/project_workspace/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project_workspace project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project_workspace.settings') + +application = get_asgi_application() diff --git a/project_workspace/project_workspace/settings.py b/project_workspace/project_workspace/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..a96aa6365e594e727b7d9bc9accb5fff4d119e07 --- /dev/null +++ b/project_workspace/project_workspace/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for project_workspace project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-*i3$frcg6qel3ia5ynou^l=@3*09tgc^11_-79r*qfr9njn81%' + +# 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', +] + +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 = 'project_workspace.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 = 'project_workspace.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/project_workspace/project_workspace/urls.py b/project_workspace/project_workspace/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..18e1d5af0f6d6d8bd148f492cd84ab71818fff6a --- /dev/null +++ b/project_workspace/project_workspace/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for project_workspace project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/project_workspace/project_workspace/wsgi.py b/project_workspace/project_workspace/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7cdc297b035fef880f96343f9b4b6aceac98e907 --- /dev/null +++ b/project_workspace/project_workspace/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project_workspace 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project_workspace.settings') + +application = get_wsgi_application() diff --git a/workspace/gold_price_app/__init__.py b/workspace/gold_price_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold_price_app/admin.py b/workspace/gold_price_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/gold_price_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/gold_price_app/apps.py b/workspace/gold_price_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..fc103382140c38d9f98ed98369a642265d166c5a --- /dev/null +++ b/workspace/gold_price_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldPriceAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold_price_app' diff --git a/workspace/gold_price_app/migrations/__init__.py b/workspace/gold_price_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold_price_app/models.py b/workspace/gold_price_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/gold_price_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/gold_price_app/tests.py b/workspace/gold_price_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/gold_price_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/gold_price_app/views.py b/workspace/gold_price_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/gold_price_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/hello.txt b/workspace/hello.txt new file mode 100644 index 0000000000000000000000000000000000000000..8ab686eafeb1f44702738c8b0f24f2567c36da6d --- /dev/null +++ b/workspace/hello.txt @@ -0,0 +1 @@ +Hello, World! diff --git a/workspace/silver_app/__init__.py b/workspace/silver_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/silver_app/admin.py b/workspace/silver_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/silver_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/silver_app/apps.py b/workspace/silver_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..076f093c3863fc2af7fa4eca4dc2ddb128d74199 --- /dev/null +++ b/workspace/silver_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class SilverAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'silver_app' diff --git a/workspace/silver_app/migrations/__init__.py b/workspace/silver_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/silver_app/models.py b/workspace/silver_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/silver_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/silver_app/tests.py b/workspace/silver_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/silver_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/silver_app/views.py b/workspace/silver_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/silver_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/__init__.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a31256be3274df8933892a4f361b07a8755d2fc1 --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for appraisal_project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..f02ad346a4809de725f93c45bd2e8a7e848a0826 --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for appraisal_project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-=9oj^@@6(8c0gtx8!x-e2o$l!6eo6949_lf49#ma@t02r2g32h' + +# 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', +] + +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 = 'appraisal_project.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 = 'appraisal_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..484164f3cd5e6f545b0d011c7a7a59669e4049ae --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for appraisal_project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..9c3494ae3ea1dd565997af91495802b37d8a76cb --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for appraisal_project 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..470f11e73d0a8fbb2d1e6e89888c85b9e093558a --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt b/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt new file mode 100644 index 0000000000000000000000000000000000000000..46fd04c27224998f75486353d32ae8de0d1c8a1a --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt @@ -0,0 +1 @@ +/home/user/app/workspace/workspace/appraisal_project/workspace \ No newline at end of file diff --git a/workspace/workspace/photopoint/__init__.py b/workspace/workspace/photopoint/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/photopoint/admin.py b/workspace/workspace/photopoint/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/photopoint/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/photopoint/apps.py b/workspace/workspace/photopoint/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e21a68970d0e7f8164f530fb8ada99071b98f350 --- /dev/null +++ b/workspace/workspace/photopoint/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class PhotopointConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'photopoint' diff --git a/workspace/workspace/photopoint/migrations/__init__.py b/workspace/workspace/photopoint/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/photopoint/models.py b/workspace/workspace/photopoint/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/photopoint/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/photopoint/tests.py b/workspace/workspace/photopoint/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/photopoint/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/photopoint/views.py b/workspace/workspace/photopoint/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/photopoint/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/myapp/__init__.py b/workspace/workspace/workspace/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/apps.py b/workspace/workspace/workspace/myapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/models.py b/workspace/workspace/workspace/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/views.py b/workspace/workspace/workspace/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/__init__.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/admin.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/appraisal_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/apps.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b8060554ac4d8a43d881dfbf9fb900d01c022afd --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/appraisal_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class AppraisalAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'appraisal_app' diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/migrations/__init__.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/models.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/appraisal_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/tests.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/appraisal_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/myapp/workspace/appraisal_app/views.py b/workspace/workspace/workspace/myapp/workspace/appraisal_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/appraisal_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/myapp/workspace/hello.txt b/workspace/workspace/workspace/myapp/workspace/hello.txt new file mode 100644 index 0000000000000000000000000000000000000000..8ab686eafeb1f44702738c8b0f24f2567c36da6d --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/hello.txt @@ -0,0 +1 @@ +Hello, World! diff --git a/workspace/workspace/workspace/myapp/workspace/manage.py b/workspace/workspace/workspace/myapp/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..dd9b5998d73508909513da8b73efedb2836fd121 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rating_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/workspace/workspace/myapp/workspace/rating_project/__init__.py b/workspace/workspace/workspace/myapp/workspace/rating_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/workspace/rating_project/asgi.py b/workspace/workspace/workspace/myapp/workspace/rating_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..62207588b0ee20a78399043976b0152f2fbdd765 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/rating_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for rating_project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rating_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/myapp/workspace/rating_project/settings.py b/workspace/workspace/workspace/myapp/workspace/rating_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..9c93584c7e09220b0a3e53c62398a580be305ed8 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/rating_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for rating_project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-xpmseja(jz96_sk%#b1j!jfr1cwz)0drz18$i^=ajj9)!ns#w4' + +# 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', +] + +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 = 'rating_project.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 = 'rating_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/workspace/workspace/myapp/workspace/rating_project/urls.py b/workspace/workspace/workspace/myapp/workspace/rating_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..7dbcd2a6d0c6580b49b349158a56a41b3599c52b --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/rating_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for rating_project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/workspace/workspace/myapp/workspace/rating_project/wsgi.py b/workspace/workspace/workspace/myapp/workspace/rating_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a333bc3874c2dc2f382144d6efe95ac9f0d5638a --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/rating_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for rating_project 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rating_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/manage.py b/workspace/workspace/workspace/myapp/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..2c49f3ac22774ee37666fd8bad6f7ed1c8069756 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/workspace/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/project/__init__.py b/workspace/workspace/workspace/myapp/workspace/workspace/project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/project/asgi.py b/workspace/workspace/workspace/myapp/workspace/workspace/project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..ff802aae0dfbc29f39529099ce516376d2da2bb2 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/workspace/project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/project/settings.py b/workspace/workspace/workspace/myapp/workspace/workspace/project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..aedf4ab8435d35ed75cf3fcc63d08ca1e3cd16dd --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/workspace/project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-5x16v=&lin1oh3jk-rk_oceaf7$^mj7mz&4(8s-0e_ej%v9t9n' + +# 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', +] + +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 = 'project.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 = 'project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/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/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/project/urls.py b/workspace/workspace/workspace/myapp/workspace/workspace/project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..3db37b434e141ab63cb804750d708e13ff1327d2 --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/workspace/project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/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 + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/workspace/workspace/myapp/workspace/workspace/project/wsgi.py b/workspace/workspace/workspace/myapp/workspace/workspace/project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684174afd679de6ae98cd19289b504226b720f0c --- /dev/null +++ b/workspace/workspace/workspace/myapp/workspace/workspace/project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project 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/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') + +application = get_wsgi_application()