diff --git a/.gitattributes b/.gitattributes index 5ee9334cc1a581e9e980bba72b5e6d669f7efa8d..c18733ff4f641d812b9f9465232a22b669a8200b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -36,3 +36,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.gif filter=lfs diff=lfs merge=lfs -text *.sqlite3 filter=lfs diff=lfs merge=lfs -text chat_history.db filter=lfs diff=lfs merge=lfs -text +static/background.png filter=lfs diff=lfs merge=lfs -text +static/chara_blinking.png filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text diff --git a/babyagi/prompt.txt b/babyagi/prompt.txt index 5fa48c41983dcd18819a812b3ba19010be70a2c7..3e1812f2ba2cb991c42f64b8411fe8e14445a2bb 100644 --- a/babyagi/prompt.txt +++ b/babyagi/prompt.txt @@ -1 +1 @@ -【応答】撮影ポイントの質問 についてチャットボットでよりよく対応するプランを日本語で作成して \ No newline at end of file +取扱商材の質問 についてチャットボットでよりよく対応するプランを日本語で作成して \ No newline at end of file diff --git a/routers/gra_02_openInterpreter/__init__.py b/buyback/__init__.py similarity index 100% rename from routers/gra_02_openInterpreter/__init__.py rename to buyback/__init__.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/admin.py b/buyback/admin.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/admin.py rename to buyback/admin.py diff --git a/buyback/apps.py b/buyback/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..77b013ccbd9bf5e941993de2f31fbdfccd40f1d7 --- /dev/null +++ b/buyback/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class BuybackConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'buyback' diff --git a/routers/gra_04_database/__init__.py b/buyback/migrations/__init__.py similarity index 100% rename from routers/gra_04_database/__init__.py rename to buyback/migrations/__init__.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/models.py b/buyback/models.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/models.py rename to buyback/models.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/tests.py b/buyback/tests.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/tests.py rename to buyback/tests.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/views.py b/buyback/views.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/views.py rename to buyback/views.py diff --git a/cache/user_config.yaml b/cache/user_config.yaml index af302fd66c59ef8da63b78c79029c206722c3b07..f4cf7341af9be0628cc788c443194997759af9d4 100644 --- a/cache/user_config.yaml +++ b/cache/user_config.yaml @@ -1,6 +1,6 @@ cache_dir: null lang: en -last_model: LLaMA3-70B-Chat +last_model: DeepSeekCoder-33B-Chat path_dict: Falcon-180B: tiiuae/falcon-180b LLaMA3-70B-Chat: meta-llama/Meta-Llama-3-70B-Instruct diff --git a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin index cede51e4ab190cb1f847042b55ad1414279b1446..745adc55bbca4feae5af22263b820bf02d09c89a 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 -size 4000 +oid sha256:807ce1644c7f63aa2dda7e2154967f77caaac5754730b99526705163caf8e7d9 +size 275 diff --git a/chroma/chroma.sqlite3 b/chroma/chroma.sqlite3 index fdfa7ea97c2b9c5f573d5c4ab6ce1efdc9a0c8bd..381d96d0514fd56a22e216869dd9bea7a35699c9 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:018d1264de741815032815109251bad4881423446cbf4435a30eb58bc8788648 +size 289 diff --git a/workspace/myproject/workspace/myproject/mydjango/__init__.py b/clothing_project/brand_buyer/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/__init__.py rename to clothing_project/brand_buyer/__init__.py diff --git a/clothing_project/brand_buyer/admin.py b/clothing_project/brand_buyer/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/clothing_project/brand_buyer/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/clothing_project/brand_buyer/apps.py b/clothing_project/brand_buyer/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..fa7f00e9eeeb1127cd98a21ac4e41bf6ca365aff --- /dev/null +++ b/clothing_project/brand_buyer/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class BrandBuyerConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'brand_buyer' diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/__init__.py b/clothing_project/brand_buyer/migrations/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/__init__.py rename to clothing_project/brand_buyer/migrations/__init__.py diff --git a/clothing_project/brand_buyer/models.py b/clothing_project/brand_buyer/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/clothing_project/brand_buyer/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/clothing_project/brand_buyer/tests.py b/clothing_project/brand_buyer/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/clothing_project/brand_buyer/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/clothing_project/brand_buyer/views.py b/clothing_project/brand_buyer/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/clothing_project/brand_buyer/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/migrations/__init__.py b/clothing_project/clothing_app/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/migrations/__init__.py rename to clothing_project/clothing_app/__init__.py diff --git a/clothing_project/clothing_app/admin.py b/clothing_project/clothing_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/clothing_project/clothing_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/clothing_project/clothing_app/apps.py b/clothing_project/clothing_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..454d9bed58ae1db83f3907c48c07a9d36f070b41 --- /dev/null +++ b/clothing_project/clothing_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ClothingAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'clothing_app' diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/__init__.py b/clothing_project/clothing_app/migrations/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/__init__.py rename to clothing_project/clothing_app/migrations/__init__.py diff --git a/clothing_project/clothing_app/models.py b/clothing_project/clothing_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/clothing_project/clothing_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/clothing_project/clothing_app/tests.py b/clothing_project/clothing_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/clothing_project/clothing_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/clothing_project/clothing_app/views.py b/clothing_project/clothing_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/clothing_project/clothing_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/__init__.py b/clothing_project/clothing_project/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/workspace/myproject/myproject/__init__.py rename to clothing_project/clothing_project/__init__.py diff --git a/clothing_project/clothing_project/asgi.py b/clothing_project/clothing_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..cdbed02aeb66e0adedf5a9966ed54dba32d3eb83 --- /dev/null +++ b/clothing_project/clothing_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for clothing_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', 'clothing_project.settings') + +application = get_asgi_application() diff --git a/clothing_project/clothing_project/settings.py b/clothing_project/clothing_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..db787b88999ab7cd7a70c92d77fecd619f00f195 --- /dev/null +++ b/clothing_project/clothing_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for clothing_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-giax@s6jnke77#5ryl(fbfa*bc)3b-m)anev_&h_cy34lagg9o' + +# 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 = 'clothing_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 = 'clothing_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/clothing_project/clothing_project/urls.py b/clothing_project/clothing_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..32f2e9c2335c77778dd25292c33c57f09f415b79 --- /dev/null +++ b/clothing_project/clothing_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for clothing_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/clothing_project/clothing_project/wsgi.py b/clothing_project/clothing_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..563df000c7d5cc99f5bfbc49ac30ffadce862c9c --- /dev/null +++ b/clothing_project/clothing_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for clothing_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', 'clothing_project.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/admin.py b/clothing_project/highend_buyer/brand_buyer/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/admin.py rename to clothing_project/highend_buyer/brand_buyer/__init__.py diff --git a/clothing_project/highend_buyer/brand_buyer/admin.py b/clothing_project/highend_buyer/brand_buyer/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/clothing_project/highend_buyer/brand_buyer/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/clothing_project/highend_buyer/brand_buyer/apps.py b/clothing_project/highend_buyer/brand_buyer/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..fa7f00e9eeeb1127cd98a21ac4e41bf6ca365aff --- /dev/null +++ b/clothing_project/highend_buyer/brand_buyer/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class BrandBuyerConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'brand_buyer' diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/apps.py b/clothing_project/highend_buyer/brand_buyer/migrations/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/apps.py rename to clothing_project/highend_buyer/brand_buyer/migrations/__init__.py diff --git a/clothing_project/highend_buyer/brand_buyer/models.py b/clothing_project/highend_buyer/brand_buyer/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/clothing_project/highend_buyer/brand_buyer/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/clothing_project/highend_buyer/brand_buyer/tests.py b/clothing_project/highend_buyer/brand_buyer/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/clothing_project/highend_buyer/brand_buyer/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/clothing_project/highend_buyer/brand_buyer/views.py b/clothing_project/highend_buyer/brand_buyer/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/clothing_project/highend_buyer/brand_buyer/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/models.py b/clothing_project/highend_buyer/highend_buyer/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/models.py rename to clothing_project/highend_buyer/highend_buyer/__init__.py diff --git a/clothing_project/highend_buyer/highend_buyer/asgi.py b/clothing_project/highend_buyer/highend_buyer/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..fad867e8594781e264137ffbf6dcc8c70f6d0fad --- /dev/null +++ b/clothing_project/highend_buyer/highend_buyer/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for highend_buyer 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', 'highend_buyer.settings') + +application = get_asgi_application() diff --git a/clothing_project/highend_buyer/highend_buyer/settings.py b/clothing_project/highend_buyer/highend_buyer/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..0aaa757b43f906256ed3f6e4367f09886d47ce63 --- /dev/null +++ b/clothing_project/highend_buyer/highend_buyer/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for highend_buyer 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-5*8#obc!7s_d14(xz8km^_jc_%9p+79)ngt$7(z3#%j6lh--)k' + +# 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 = 'highend_buyer.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 = 'highend_buyer.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/clothing_project/highend_buyer/highend_buyer/urls.py b/clothing_project/highend_buyer/highend_buyer/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..0d54de0301cbdf54fe97311b50474c53cde3c4b6 --- /dev/null +++ b/clothing_project/highend_buyer/highend_buyer/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for highend_buyer 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/clothing_project/highend_buyer/highend_buyer/wsgi.py b/clothing_project/highend_buyer/highend_buyer/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..54bb3bd551975814eb8775c64a220e643a0192fb --- /dev/null +++ b/clothing_project/highend_buyer/highend_buyer/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for highend_buyer 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', 'highend_buyer.settings') + +application = get_wsgi_application() diff --git a/clothing_project/highend_buyer/manage.py b/clothing_project/highend_buyer/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..bd490d3b8b5e9e37267ee5a5f02f0ddb59bdaa02 --- /dev/null +++ b/clothing_project/highend_buyer/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', 'highend_buyer.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/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/tests.py b/clothing_project/highend_buyer/workspace/luxury_brands/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/tests.py rename to clothing_project/highend_buyer/workspace/luxury_brands/__init__.py diff --git a/clothing_project/highend_buyer/workspace/luxury_brands/admin.py b/clothing_project/highend_buyer/workspace/luxury_brands/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/clothing_project/highend_buyer/workspace/luxury_brands/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/clothing_project/highend_buyer/workspace/luxury_brands/apps.py b/clothing_project/highend_buyer/workspace/luxury_brands/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e271f400cc833e3fd513085f297f40bf3725d9cf --- /dev/null +++ b/clothing_project/highend_buyer/workspace/luxury_brands/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class LuxuryBrandsConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'luxury_brands' diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/views.py b/clothing_project/highend_buyer/workspace/luxury_brands/migrations/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/myapp/views.py rename to clothing_project/highend_buyer/workspace/luxury_brands/migrations/__init__.py diff --git a/clothing_project/highend_buyer/workspace/luxury_brands/models.py b/clothing_project/highend_buyer/workspace/luxury_brands/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/luxury_brands/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/clothing_project/highend_buyer/workspace/luxury_brands/tests.py b/clothing_project/highend_buyer/workspace/luxury_brands/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/luxury_brands/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/clothing_project/highend_buyer/workspace/luxury_brands/views.py b/clothing_project/highend_buyer/workspace/luxury_brands/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/clothing_project/highend_buyer/workspace/luxury_brands/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/settings.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/fastapi_app/main.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/settings.py rename to clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/fastapi_app/main.py diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/manage.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/__init__.py similarity index 100% rename from workspace/myproject/workspace/myproject/workspace/myproject/manage.py rename to clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/__init__.py diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/admin.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/apps.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e271f400cc833e3fd513085f297f40bf3725d9cf --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class LuxuryBrandsConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'luxury_brands' diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/migrations/__init__.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/models.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/tests.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/views.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/__init__.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/asgi.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..8667c2d5c7d8d5fda8c3c2b24bb29b1561925e78 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for luxury_brands_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', 'luxury_brands_project.settings') + +application = get_asgi_application() diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/settings.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..e48ef3aca50450d3b9c11476cde0de078d1e4b14 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for luxury_brands_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-e=j(+9w!6lp75n8ntw_y_=ej-m%&o1bu39muk+s9(jtg#(r&(a' + +# 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 = 'luxury_brands_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 = 'luxury_brands_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/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/urls.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..24fad51050e87660ae48d771eb0f3040ab11fdaf --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for luxury_brands_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/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/wsgi.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7a4e1b4caeabf5e7027570ecb81a59451993807f --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/luxury_brands_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for luxury_brands_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', 'luxury_brands_project.settings') + +application = get_wsgi_application() diff --git a/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/manage.py b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a65c4fd7f827a23fac8bbe08653f9f36f4d42258 --- /dev/null +++ b/clothing_project/highend_buyer/workspace/workspace/luxury_brands_project/luxury_brands_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', 'luxury_brands_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/clothing_project/manage.py b/clothing_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..6bc0a7c7439cb3e733dc852c97cd36037573096f --- /dev/null +++ b/clothing_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', 'clothing_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/command/postgresz.py b/command/postgresz.py index a00554cf863a8563ac7b17748e7338f7983c05e0..2b8dae5c63fbcdcdea89f36ee1421e5f1629d56b 100644 --- a/command/postgresz.py +++ b/command/postgresz.py @@ -68,4 +68,4 @@ def get_recent_messages(limit=5): return messages[::-1] # 最新のlimit件を取得して逆順にする # データベースの初期化 -initialize_db() +#initialize_db() 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/controllers/gpt_enginner20240629142006 b/controllers/gpt_enginner20240629142006 new file mode 160000 index 0000000000000000000000000000000000000000..c55da956d2849adba739e6e341912b54015dea15 --- /dev/null +++ b/controllers/gpt_enginner20240629142006 @@ -0,0 +1 @@ +Subproject commit c55da956d2849adba739e6e341912b54015dea15 diff --git a/controllers/gpt_enginner20240629142222 b/controllers/gpt_enginner20240629142222 new file mode 160000 index 0000000000000000000000000000000000000000..53b25e494ce506054d6ac29a895c7042608649a1 --- /dev/null +++ b/controllers/gpt_enginner20240629142222 @@ -0,0 +1 @@ +Subproject commit 53b25e494ce506054d6ac29a895c7042608649a1 diff --git a/controllers/gpt_enginner20240629142522 b/controllers/gpt_enginner20240629142522 new file mode 160000 index 0000000000000000000000000000000000000000..3c7714c95a4e53c58c0dd41d5d319fe35b7adae7 --- /dev/null +++ b/controllers/gpt_enginner20240629142522 @@ -0,0 +1 @@ +Subproject commit 3c7714c95a4e53c58c0dd41d5d319fe35b7adae7 diff --git a/controllers/gpt_enginner20240629143040 b/controllers/gpt_enginner20240629143040 new file mode 160000 index 0000000000000000000000000000000000000000..8de3787b9caed53b907c60bb17590ffba11af041 --- /dev/null +++ b/controllers/gpt_enginner20240629143040 @@ -0,0 +1 @@ +Subproject commit 8de3787b9caed53b907c60bb17590ffba11af041 diff --git a/controllers/gpt_enginner20240629143151 b/controllers/gpt_enginner20240629143151 new file mode 160000 index 0000000000000000000000000000000000000000..36a7f1c590656c9979def57b95ce7ab33fbc4cb5 --- /dev/null +++ b/controllers/gpt_enginner20240629143151 @@ -0,0 +1 @@ +Subproject commit 36a7f1c590656c9979def57b95ce7ab33fbc4cb5 diff --git a/controllers/gpt_enginner20240629143359 b/controllers/gpt_enginner20240629143359 new file mode 160000 index 0000000000000000000000000000000000000000..a31271488bd522fbc0d4ef5e5c07513a842cfe55 --- /dev/null +++ b/controllers/gpt_enginner20240629143359 @@ -0,0 +1 @@ +Subproject commit a31271488bd522fbc0d4ef5e5c07513a842cfe55 diff --git a/controllers/gpt_enginner20240629143803 b/controllers/gpt_enginner20240629143803 new file mode 160000 index 0000000000000000000000000000000000000000..76fef13a795be7c45cb804d276b594725569905c --- /dev/null +++ b/controllers/gpt_enginner20240629143803 @@ -0,0 +1 @@ +Subproject commit 76fef13a795be7c45cb804d276b594725569905c diff --git a/controllers/gpt_enginner20240629143948 b/controllers/gpt_enginner20240629143948 new file mode 160000 index 0000000000000000000000000000000000000000..505acececaf900a5a7819ad31b9dabe17520a795 --- /dev/null +++ b/controllers/gpt_enginner20240629143948 @@ -0,0 +1 @@ +Subproject commit 505acececaf900a5a7819ad31b9dabe17520a795 diff --git a/controllers/gpt_enginner20240629144304 b/controllers/gpt_enginner20240629144304 new file mode 160000 index 0000000000000000000000000000000000000000..37050c63b1c45afda4c9fc4a351ec81695594474 --- /dev/null +++ b/controllers/gpt_enginner20240629144304 @@ -0,0 +1 @@ +Subproject commit 37050c63b1c45afda4c9fc4a351ec81695594474 diff --git a/controllers/gpt_enginner20240629144421 b/controllers/gpt_enginner20240629144421 new file mode 160000 index 0000000000000000000000000000000000000000..05d89cd4c9a19b06d73fc0ffeb67f31ff1403331 --- /dev/null +++ b/controllers/gpt_enginner20240629144421 @@ -0,0 +1 @@ +Subproject commit 05d89cd4c9a19b06d73fc0ffeb67f31ff1403331 diff --git a/controllers/gpt_enginner20240629144523 b/controllers/gpt_enginner20240629144523 new file mode 160000 index 0000000000000000000000000000000000000000..5655dba704151901814036994f1a64ee170b4ba3 --- /dev/null +++ b/controllers/gpt_enginner20240629144523 @@ -0,0 +1 @@ +Subproject commit 5655dba704151901814036994f1a64ee170b4ba3 diff --git a/controllers/gpt_enginner20240629144718 b/controllers/gpt_enginner20240629144718 new file mode 160000 index 0000000000000000000000000000000000000000..31da4295ac0e81754c375143ea1b00203bb1f48a --- /dev/null +++ b/controllers/gpt_enginner20240629144718 @@ -0,0 +1 @@ +Subproject commit 31da4295ac0e81754c375143ea1b00203bb1f48a diff --git a/controllers/gpt_enginner20240629145009 b/controllers/gpt_enginner20240629145009 new file mode 160000 index 0000000000000000000000000000000000000000..97d3ddcd7fd2f61b246b191ce37a9004156d81a7 --- /dev/null +++ b/controllers/gpt_enginner20240629145009 @@ -0,0 +1 @@ +Subproject commit 97d3ddcd7fd2f61b246b191ce37a9004156d81a7 diff --git a/controllers/gpt_enginner20240629145355 b/controllers/gpt_enginner20240629145355 new file mode 160000 index 0000000000000000000000000000000000000000..a0db5908fa329429a5b13c2c56aeeaa15daf0c6b --- /dev/null +++ b/controllers/gpt_enginner20240629145355 @@ -0,0 +1 @@ +Subproject commit a0db5908fa329429a5b13c2c56aeeaa15daf0c6b diff --git a/controllers/gpt_enginner20240629145959 b/controllers/gpt_enginner20240629145959 new file mode 160000 index 0000000000000000000000000000000000000000..c5808e5caff93739fecae4fa37eebdfdc86be517 --- /dev/null +++ b/controllers/gpt_enginner20240629145959 @@ -0,0 +1 @@ +Subproject commit c5808e5caff93739fecae4fa37eebdfdc86be517 diff --git a/controllers/gpt_enginner20240629150627 b/controllers/gpt_enginner20240629150627 new file mode 160000 index 0000000000000000000000000000000000000000..b48dbf1a71617578228ff271f50e636ba6406560 --- /dev/null +++ b/controllers/gpt_enginner20240629150627 @@ -0,0 +1 @@ +Subproject commit b48dbf1a71617578228ff271f50e636ba6406560 diff --git a/controllers/gpt_enginner20240629150818 b/controllers/gpt_enginner20240629150818 new file mode 160000 index 0000000000000000000000000000000000000000..7f0efa9ea50b2cfb239e9426792e7983e4ae5da8 --- /dev/null +++ b/controllers/gpt_enginner20240629150818 @@ -0,0 +1 @@ +Subproject commit 7f0efa9ea50b2cfb239e9426792e7983e4ae5da8 diff --git a/controllers/gpt_enginner20240629151015 b/controllers/gpt_enginner20240629151015 new file mode 160000 index 0000000000000000000000000000000000000000..eb4e1305a0dbfc846ebecde52bf2c93f96ef95b9 --- /dev/null +++ b/controllers/gpt_enginner20240629151015 @@ -0,0 +1 @@ +Subproject commit eb4e1305a0dbfc846ebecde52bf2c93f96ef95b9 diff --git a/controllers/gpt_enginner20240629151211 b/controllers/gpt_enginner20240629151211 new file mode 160000 index 0000000000000000000000000000000000000000..b0ac26c5e3588e1c380449ddae09ee7b842f68df --- /dev/null +++ b/controllers/gpt_enginner20240629151211 @@ -0,0 +1 @@ +Subproject commit b0ac26c5e3588e1c380449ddae09ee7b842f68df diff --git a/controllers/gpt_enginner20240629151709 b/controllers/gpt_enginner20240629151709 new file mode 160000 index 0000000000000000000000000000000000000000..bc0d67431a6ee13b9fc7c17c02be5b58630dd8fa --- /dev/null +++ b/controllers/gpt_enginner20240629151709 @@ -0,0 +1 @@ +Subproject commit bc0d67431a6ee13b9fc7c17c02be5b58630dd8fa diff --git a/controllers/gpt_enginner20240629152843 b/controllers/gpt_enginner20240629152843 new file mode 160000 index 0000000000000000000000000000000000000000..8a38df3aa3f349cb0eed07f2a71277fd3d84e310 --- /dev/null +++ b/controllers/gpt_enginner20240629152843 @@ -0,0 +1 @@ +Subproject commit 8a38df3aa3f349cb0eed07f2a71277fd3d84e310 diff --git a/controllers/gpt_enginner20240629153645 b/controllers/gpt_enginner20240629153645 new file mode 160000 index 0000000000000000000000000000000000000000..c1cc8469e962339bb10d13b3fb6a81540a7cc4fe --- /dev/null +++ b/controllers/gpt_enginner20240629153645 @@ -0,0 +1 @@ +Subproject commit c1cc8469e962339bb10d13b3fb6a81540a7cc4fe diff --git a/controllers/gpt_enginner20240629160041 b/controllers/gpt_enginner20240629160041 new file mode 160000 index 0000000000000000000000000000000000000000..f6f5a9a222c6ada38f159f7fc9da27c8ada9b417 --- /dev/null +++ b/controllers/gpt_enginner20240629160041 @@ -0,0 +1 @@ +Subproject commit f6f5a9a222c6ada38f159f7fc9da27c8ada9b417 diff --git a/controllers/gpt_enginner20240629160256 b/controllers/gpt_enginner20240629160256 new file mode 160000 index 0000000000000000000000000000000000000000..1819c0eb22cc2d7a564104695c5bc8353355da84 --- /dev/null +++ b/controllers/gpt_enginner20240629160256 @@ -0,0 +1 @@ +Subproject commit 1819c0eb22cc2d7a564104695c5bc8353355da84 diff --git a/controllers/gpt_enginner20240629160338 b/controllers/gpt_enginner20240629160338 new file mode 160000 index 0000000000000000000000000000000000000000..7ca60973f8d586baa871ace62449922ddb859084 --- /dev/null +++ b/controllers/gpt_enginner20240629160338 @@ -0,0 +1 @@ +Subproject commit 7ca60973f8d586baa871ace62449922ddb859084 diff --git a/controllers/gpt_enginner20240629160410 b/controllers/gpt_enginner20240629160410 new file mode 160000 index 0000000000000000000000000000000000000000..12182c726d56091515f3ea27d7bb6082964612ff --- /dev/null +++ b/controllers/gpt_enginner20240629160410 @@ -0,0 +1 @@ +Subproject commit 12182c726d56091515f3ea27d7bb6082964612ff diff --git a/controllers/gpt_enginner20240629160505 b/controllers/gpt_enginner20240629160505 new file mode 160000 index 0000000000000000000000000000000000000000..144f08e1d5238f87412d6a68a013e03c55e0812d --- /dev/null +++ b/controllers/gpt_enginner20240629160505 @@ -0,0 +1 @@ +Subproject commit 144f08e1d5238f87412d6a68a013e03c55e0812d diff --git a/controllers/gpt_enginner20240629162910 b/controllers/gpt_enginner20240629162910 new file mode 160000 index 0000000000000000000000000000000000000000..48884c7d31bd001861a44b2eaaa3644544ad79d9 --- /dev/null +++ b/controllers/gpt_enginner20240629162910 @@ -0,0 +1 @@ +Subproject commit 48884c7d31bd001861a44b2eaaa3644544ad79d9 diff --git a/controllers/gpt_enginner20240629172539 b/controllers/gpt_enginner20240629172539 new file mode 160000 index 0000000000000000000000000000000000000000..3286571955cab3e95172efb1bbaea71de539f0fe --- /dev/null +++ b/controllers/gpt_enginner20240629172539 @@ -0,0 +1 @@ +Subproject commit 3286571955cab3e95172efb1bbaea71de539f0fe diff --git a/controllers/gpt_enginner20240629172751 b/controllers/gpt_enginner20240629172751 new file mode 160000 index 0000000000000000000000000000000000000000..d77d870488077fa5511381f032e162f65b529b92 --- /dev/null +++ b/controllers/gpt_enginner20240629172751 @@ -0,0 +1 @@ +Subproject commit d77d870488077fa5511381f032e162f65b529b92 diff --git a/controllers/gpt_enginner20240629174942 b/controllers/gpt_enginner20240629174942 new file mode 160000 index 0000000000000000000000000000000000000000..9903a6cbaf15e3d9ed3a3696abc98681483dd1ae --- /dev/null +++ b/controllers/gpt_enginner20240629174942 @@ -0,0 +1 @@ +Subproject commit 9903a6cbaf15e3d9ed3a3696abc98681483dd1ae diff --git a/controllers/gpt_enginner20240629175056 b/controllers/gpt_enginner20240629175056 new file mode 160000 index 0000000000000000000000000000000000000000..096ce0d49ebfc95b1f32e9ac7e1dd33210391698 --- /dev/null +++ b/controllers/gpt_enginner20240629175056 @@ -0,0 +1 @@ +Subproject commit 096ce0d49ebfc95b1f32e9ac7e1dd33210391698 diff --git a/controllers/gpt_enginner20240629175309 b/controllers/gpt_enginner20240629175309 new file mode 160000 index 0000000000000000000000000000000000000000..f34a284a79fd688bc9a749f8a756bb512ada1416 --- /dev/null +++ b/controllers/gpt_enginner20240629175309 @@ -0,0 +1 @@ +Subproject commit f34a284a79fd688bc9a749f8a756bb512ada1416 diff --git a/controllers/gpt_enginner20240629175539 b/controllers/gpt_enginner20240629175539 new file mode 160000 index 0000000000000000000000000000000000000000..50a1f6ab4f0ea64137aba97db7b76dc0d5def1eb --- /dev/null +++ b/controllers/gpt_enginner20240629175539 @@ -0,0 +1 @@ +Subproject commit 50a1f6ab4f0ea64137aba97db7b76dc0d5def1eb diff --git a/controllers/gpt_enginner20240629175716 b/controllers/gpt_enginner20240629175716 new file mode 160000 index 0000000000000000000000000000000000000000..9ba6c5bc3d0e54679e112269890aef91899cce83 --- /dev/null +++ b/controllers/gpt_enginner20240629175716 @@ -0,0 +1 @@ +Subproject commit 9ba6c5bc3d0e54679e112269890aef91899cce83 diff --git a/controllers/gpt_enginner20240629175904 b/controllers/gpt_enginner20240629175904 new file mode 160000 index 0000000000000000000000000000000000000000..8681c19e6fc7bb78f8b2d9181f358da9aae96e60 --- /dev/null +++ b/controllers/gpt_enginner20240629175904 @@ -0,0 +1 @@ +Subproject commit 8681c19e6fc7bb78f8b2d9181f358da9aae96e60 diff --git a/controllers/gpt_enginner20240629180127 b/controllers/gpt_enginner20240629180127 new file mode 160000 index 0000000000000000000000000000000000000000..9e478c805d9b8ed317899d09b18bca0ac0d4ca46 --- /dev/null +++ b/controllers/gpt_enginner20240629180127 @@ -0,0 +1 @@ +Subproject commit 9e478c805d9b8ed317899d09b18bca0ac0d4ca46 diff --git a/controllers/gpt_enginner20240629180233 b/controllers/gpt_enginner20240629180233 new file mode 160000 index 0000000000000000000000000000000000000000..5b4a2e98e55646450695ec9ea9384ef2b459e935 --- /dev/null +++ b/controllers/gpt_enginner20240629180233 @@ -0,0 +1 @@ +Subproject commit 5b4a2e98e55646450695ec9ea9384ef2b459e935 diff --git a/controllers/gpt_enginner20240629180353 b/controllers/gpt_enginner20240629180353 new file mode 160000 index 0000000000000000000000000000000000000000..b5670b95000d545976653f41a1723f1030d8e389 --- /dev/null +++ b/controllers/gpt_enginner20240629180353 @@ -0,0 +1 @@ +Subproject commit b5670b95000d545976653f41a1723f1030d8e389 diff --git a/controllers/gpt_enginner20240629180458 b/controllers/gpt_enginner20240629180458 new file mode 160000 index 0000000000000000000000000000000000000000..a719ed2779964e00b34fecf2c4172641cecd4fa0 --- /dev/null +++ b/controllers/gpt_enginner20240629180458 @@ -0,0 +1 @@ +Subproject commit a719ed2779964e00b34fecf2c4172641cecd4fa0 diff --git a/controllers/gpt_enginner20240629180714 b/controllers/gpt_enginner20240629180714 new file mode 160000 index 0000000000000000000000000000000000000000..ded10f2c2fb83ed12c6125378ebfca4ebac1e241 --- /dev/null +++ b/controllers/gpt_enginner20240629180714 @@ -0,0 +1 @@ +Subproject commit ded10f2c2fb83ed12c6125378ebfca4ebac1e241 diff --git a/controllers/gpt_enginner20240629181456 b/controllers/gpt_enginner20240629181456 new file mode 160000 index 0000000000000000000000000000000000000000..9b9b5224cba4ba4be388028ebd67fbee0454dcc2 --- /dev/null +++ b/controllers/gpt_enginner20240629181456 @@ -0,0 +1 @@ +Subproject commit 9b9b5224cba4ba4be388028ebd67fbee0454dcc2 diff --git a/controllers/gpt_enginner20240629181833 b/controllers/gpt_enginner20240629181833 new file mode 160000 index 0000000000000000000000000000000000000000..f654c5b2196db743c421504941f89979822eb8c4 --- /dev/null +++ b/controllers/gpt_enginner20240629181833 @@ -0,0 +1 @@ +Subproject commit f654c5b2196db743c421504941f89979822eb8c4 diff --git a/controllers/gpt_enginner20240629182101 b/controllers/gpt_enginner20240629182101 new file mode 160000 index 0000000000000000000000000000000000000000..bfcb211183e3612c7d5c21bac5bc27ac12ae4730 --- /dev/null +++ b/controllers/gpt_enginner20240629182101 @@ -0,0 +1 @@ +Subproject commit bfcb211183e3612c7d5c21bac5bc27ac12ae4730 diff --git a/controllers/gpt_enginner20240629182436 b/controllers/gpt_enginner20240629182436 new file mode 160000 index 0000000000000000000000000000000000000000..29cd11d6cd14942a8e529e27633247b9df7f2402 --- /dev/null +++ b/controllers/gpt_enginner20240629182436 @@ -0,0 +1 @@ +Subproject commit 29cd11d6cd14942a8e529e27633247b9df7f2402 diff --git a/controllers/gpt_enginner20240629210858 b/controllers/gpt_enginner20240629210858 new file mode 160000 index 0000000000000000000000000000000000000000..5947cd266fce5955f33746a9364805e4a3cc53cc --- /dev/null +++ b/controllers/gpt_enginner20240629210858 @@ -0,0 +1 @@ +Subproject commit 5947cd266fce5955f33746a9364805e4a3cc53cc diff --git a/controllers/gpt_enginner20240629215557 b/controllers/gpt_enginner20240629215557 new file mode 160000 index 0000000000000000000000000000000000000000..9f305df6883067680f28a56352bdc39c66d84956 --- /dev/null +++ b/controllers/gpt_enginner20240629215557 @@ -0,0 +1 @@ +Subproject commit 9f305df6883067680f28a56352bdc39c66d84956 diff --git a/controllers/gpt_enginner20240629223113 b/controllers/gpt_enginner20240629223113 new file mode 160000 index 0000000000000000000000000000000000000000..757930ec97b31e6a3e34a22f781546caaadfcd68 --- /dev/null +++ b/controllers/gpt_enginner20240629223113 @@ -0,0 +1 @@ +Subproject commit 757930ec97b31e6a3e34a22f781546caaadfcd68 diff --git a/controllers/gpt_enginner20240629223430 b/controllers/gpt_enginner20240629223430 new file mode 160000 index 0000000000000000000000000000000000000000..beda55588ad2e8a38f25825d7339843dfa215461 --- /dev/null +++ b/controllers/gpt_enginner20240629223430 @@ -0,0 +1 @@ +Subproject commit beda55588ad2e8a38f25825d7339843dfa215461 diff --git a/controllers/gpt_enginner20240629224204 b/controllers/gpt_enginner20240629224204 new file mode 160000 index 0000000000000000000000000000000000000000..4339f0d0a8397fd95d34bb132dafab93b660793a --- /dev/null +++ b/controllers/gpt_enginner20240629224204 @@ -0,0 +1 @@ +Subproject commit 4339f0d0a8397fd95d34bb132dafab93b660793a diff --git a/controllers/gpt_enginner20240629224814 b/controllers/gpt_enginner20240629224814 new file mode 160000 index 0000000000000000000000000000000000000000..0b984554b92fffd68bbd18197d4162665f886b96 --- /dev/null +++ b/controllers/gpt_enginner20240629224814 @@ -0,0 +1 @@ +Subproject commit 0b984554b92fffd68bbd18197d4162665f886b96 diff --git a/controllers/gpt_enginner20240629234636 b/controllers/gpt_enginner20240629234636 new file mode 160000 index 0000000000000000000000000000000000000000..210e7259dd01b3e4393cd9c0d357175fd3d94058 --- /dev/null +++ b/controllers/gpt_enginner20240629234636 @@ -0,0 +1 @@ +Subproject commit 210e7259dd01b3e4393cd9c0d357175fd3d94058 diff --git a/controllers/gpt_enginner20240630001035 b/controllers/gpt_enginner20240630001035 new file mode 160000 index 0000000000000000000000000000000000000000..4809368bfc9389b2947b476bfde33f486a5867e0 --- /dev/null +++ b/controllers/gpt_enginner20240630001035 @@ -0,0 +1 @@ +Subproject commit 4809368bfc9389b2947b476bfde33f486a5867e0 diff --git a/controllers/gpt_enginner20240630001915 b/controllers/gpt_enginner20240630001915 new file mode 160000 index 0000000000000000000000000000000000000000..8f1a865cc20512010d5c7088562160babbff384e --- /dev/null +++ b/controllers/gpt_enginner20240630001915 @@ -0,0 +1 @@ +Subproject commit 8f1a865cc20512010d5c7088562160babbff384e diff --git a/controllers/gpt_enginner20240630002747 b/controllers/gpt_enginner20240630002747 new file mode 160000 index 0000000000000000000000000000000000000000..e404befe46ce643d63f20df8c1103ae209618255 --- /dev/null +++ b/controllers/gpt_enginner20240630002747 @@ -0,0 +1 @@ +Subproject commit e404befe46ce643d63f20df8c1103ae209618255 diff --git a/controllers/gpt_enginner20240630011943 b/controllers/gpt_enginner20240630011943 new file mode 160000 index 0000000000000000000000000000000000000000..27b874458828a3570f4ddd5fe68809394a1e0a12 --- /dev/null +++ b/controllers/gpt_enginner20240630011943 @@ -0,0 +1 @@ +Subproject commit 27b874458828a3570f4ddd5fe68809394a1e0a12 diff --git a/controllers/gpt_enginner20240630013714 b/controllers/gpt_enginner20240630013714 new file mode 160000 index 0000000000000000000000000000000000000000..676fa7d35df6ddcb163c3d93b5d745a6f07395b9 --- /dev/null +++ b/controllers/gpt_enginner20240630013714 @@ -0,0 +1 @@ +Subproject commit 676fa7d35df6ddcb163c3d93b5d745a6f07395b9 diff --git a/controllers/gpt_enginner20240630014106 b/controllers/gpt_enginner20240630014106 new file mode 160000 index 0000000000000000000000000000000000000000..46b6e1589479683f232a32d9af79caaaaae49612 --- /dev/null +++ b/controllers/gpt_enginner20240630014106 @@ -0,0 +1 @@ +Subproject commit 46b6e1589479683f232a32d9af79caaaaae49612 diff --git a/controllers/gpt_enginner20240630014419 b/controllers/gpt_enginner20240630014419 new file mode 160000 index 0000000000000000000000000000000000000000..1b221f0751ffada69e7adfdfa0e997425ad72604 --- /dev/null +++ b/controllers/gpt_enginner20240630014419 @@ -0,0 +1 @@ +Subproject commit 1b221f0751ffada69e7adfdfa0e997425ad72604 diff --git a/controllers/gpt_enginner20240630021639 b/controllers/gpt_enginner20240630021639 new file mode 160000 index 0000000000000000000000000000000000000000..22d5e0e4d1e87b5f643591889725f68d9840a330 --- /dev/null +++ b/controllers/gpt_enginner20240630021639 @@ -0,0 +1 @@ +Subproject commit 22d5e0e4d1e87b5f643591889725f68d9840a330 diff --git a/controllers/gpt_enginner20240630023616 b/controllers/gpt_enginner20240630023616 new file mode 160000 index 0000000000000000000000000000000000000000..df28f91d3ae6c971f541384c4e6a8dd77f86d74f --- /dev/null +++ b/controllers/gpt_enginner20240630023616 @@ -0,0 +1 @@ +Subproject commit df28f91d3ae6c971f541384c4e6a8dd77f86d74f diff --git a/controllers/gpt_enginner20240630024059 b/controllers/gpt_enginner20240630024059 new file mode 160000 index 0000000000000000000000000000000000000000..7a50c0ffd852f0fba8f528c085bbb404d407604a --- /dev/null +++ b/controllers/gpt_enginner20240630024059 @@ -0,0 +1 @@ +Subproject commit 7a50c0ffd852f0fba8f528c085bbb404d407604a diff --git a/controllers/gpt_enginner20240630024942 b/controllers/gpt_enginner20240630024942 new file mode 160000 index 0000000000000000000000000000000000000000..8abc3b190b8c9f2fad822943a9c0f78f1c05d2de --- /dev/null +++ b/controllers/gpt_enginner20240630024942 @@ -0,0 +1 @@ +Subproject commit 8abc3b190b8c9f2fad822943a9c0f78f1c05d2de diff --git a/controllers/gpt_enginner20240630025322/prompt b/controllers/gpt_enginner20240630025322/prompt new file mode 100644 index 0000000000000000000000000000000000000000..52db339d7a06951a5587f29bedf2b230e9af1b83 --- /dev/null +++ b/controllers/gpt_enginner20240630025322/prompt @@ -0,0 +1,135 @@ + +下記の質問に対応するコードをdjangoでアプリを作成 プロジェクトはいりません +fastapiでrouter部分を作成 組み込みはメイン部分でします +フロントエンドをgradioで作成 +#google apps script frontend + googleappsscript doGet でのgradioの表示処理を作成 google.script.runで関数は呼び出し +#google apps script backend + frontendからの呼び出し用のバックエンドスクリプト +仕様書の作成 +PlantUMLでシーケンス図の作成 +Markdownでのプログラム殺名 +#下記参考にAPIも作成しておいて +action insert list edit update でCRUDがかわる +同じようにGASのAPIも作成しておいて + +def create_vector(): + inputs = tokenizer(result, return_tensors="pt", max_length=512, truncation=True) + outputs = model(**inputs) + # [CLS]トークンの出力を取得 + embeddings = outputs.last_hidden_state[:,0,:].squeeze().detach().cpu().numpy().tolist() + print(embeddings) + import requests + + url = "https://kenken999-php.hf.space/api/v1.php" + + payload = "model_name={embeddings}&vector_text={result}&table=products&action=insert"" + headers = { + 'X-Auth-Token': 'admin', + 'Content-Type': 'application/x-www-form-urlencoded', + 'Cookie': 'runnerSession=muvclb78zpsdjbm7y9c3; pD1lszvk6ratOZhmmgvkp=13767810ebf0782b0b51bf72dedb63b3' + } + + response = requests.request("POST", url, headers=headers, data=payload) + + print(response.text) + return True + +下記の質問 作成対応内容 + +こんにちは、リファスタのアシスタントです。 GIA certified colour change sapphireに関するお問い合わせですね。 + +Colour Change Sapphireは、特定の条件下で色が変化するサファイアです。このようなサファイアは非常に貴重です。 + +以下は、査定人に対するわかりやすい質問に変更されたものです。 + +* GIA証明書を持つColour Change Sapphireの価格帯はどこですか? +* Colour Change Sapphireのカラーチェンジの仕組みは何ですか? +* GIA認証があるColour Change Sapphireはどのような価値がありますか? + +以下は、リファスタのYOUTUBEのURLです。 +https://www.youtube.com/@refastaofficial/search?query=GIA+certified+colour+change+sapphire + +次は、Q&Aを3つ作成します。 + +Q1: GIA certified colour change sapphireはどのような価値がありますか? +A1: GIA certified colour change sapphireは非常に貴重で、価格帯は高額です。 + +Q2: Colour Change Sapphireのカラーチェンジの仕組みは何ですか? +A2: Colour Change Sapphireは、特定の条件下で色が変化します。この仕組みは、サファイアの特殊な性質によるものです。 + +Q3: GIA認証があるColour Change Sapphireはどのような証明書を持っていますか? +A3: GIA認証があるColour Change Sapphireは、GIAから発行された証明書を持っています。この証明書には、サファイアの情報やその価値が記載されています。 + +以下は、商品検索のURLを作成したものです。 +https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=GIA+certified+colour+change+sapphire + +もし、 Colour Change Sapphireの査定や購入についてお問い合わせがある場合は、リファスタのサイトをご覧ください。 +https://kinkaimasu.jp/estimate/?openExternalBrowser=1&utm_source=LINE +下記の質問に対応するコードをdjangoでアプリを作成 プロジェクトはいりません +fastapiでrouter部分を作成 組み込みはメイン部分でします +フロントエンドをgradioで作成 +#google apps script frontend + googleappsscript doGet でのgradioの表示処理を作成 google.script.runで関数は呼び出し +#google apps script backend + frontendからの呼び出し用のバックエンドスクリプト +仕様書の作成 +PlantUMLでシーケンス図の作成 +Markdownでのプログラム殺名 +#下記参考にAPIも作成しておいて +action insert list edit update でCRUDがかわる +同じようにGASのAPIも作成しておいて + +def create_vector(): + inputs = tokenizer(result, return_tensors="pt", max_length=512, truncation=True) + outputs = model(**inputs) + # [CLS]トークンの出力を取得 + embeddings = outputs.last_hidden_state[:,0,:].squeeze().detach().cpu().numpy().tolist() + print(embeddings) + import requests + + url = "https://kenken999-php.hf.space/api/v1.php" + + payload = "model_name={embeddings}&vector_text={result}&table=products&action=insert"" + headers = { + 'X-Auth-Token': 'admin', + 'Content-Type': 'application/x-www-form-urlencoded', + 'Cookie': 'runnerSession=muvclb78zpsdjbm7y9c3; pD1lszvk6ratOZhmmgvkp=13767810ebf0782b0b51bf72dedb63b3' + } + + response = requests.request("POST", url, headers=headers, data=payload) + + print(response.text) + return True + +下記の質問 作成対応内容 + +こんにちは、リファスタのアシスタントです。 GIA certified colour change sapphireに関するお問い合わせですね。 + +Colour Change Sapphireは、特定の条件下で色が変化するサファイアです。このようなサファイアは非常に貴重です。 + +以下は、査定人に対するわかりやすい質問に変更されたものです。 + +* GIA証明書を持つColour Change Sapphireの価格帯はどこですか? +* Colour Change Sapphireのカラーチェンジの仕組みは何ですか? +* GIA認証があるColour Change Sapphireはどのような価値がありますか? + +以下は、リファスタのYOUTUBEのURLです。 +https://www.youtube.com/@refastaofficial/search?query=GIA+certified+colour+change+sapphire + +次は、Q&Aを3つ作成します。 + +Q1: GIA certified colour change sapphireはどのような価値がありますか? +A1: GIA certified colour change sapphireは非常に貴重で、価格帯は高額です。 + +Q2: Colour Change Sapphireのカラーチェンジの仕組みは何ですか? +A2: Colour Change Sapphireは、特定の条件下で色が変化します。この仕組みは、サファイアの特殊な性質によるものです。 + +Q3: GIA認証があるColour Change Sapphireはどのような証明書を持っていますか? +A3: GIA認証があるColour Change Sapphireは、GIAから発行された証明書を持っています。この証明書には、サファイアの情報やその価値が記載されています。 + +以下は、商品検索のURLを作成したものです。 +https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=GIA+certified+colour+change+sapphire + +もし、 Colour Change Sapphireの査定や購入についてお問い合わせがある場合は、リファスタのサイトをご覧ください。 +https://kinkaimasu.jp/estimate/?openExternalBrowser=1&utm_source=LINE \ No newline at end of file diff --git a/controllers/gpt_enginner20240630025409 b/controllers/gpt_enginner20240630025409 new file mode 160000 index 0000000000000000000000000000000000000000..b26ccc0bee7f5feb3a3c3319ac780c2d14a6aa14 --- /dev/null +++ b/controllers/gpt_enginner20240630025409 @@ -0,0 +1 @@ +Subproject commit b26ccc0bee7f5feb3a3c3319ac780c2d14a6aa14 diff --git a/controllers/gpt_enginner20240630030406 b/controllers/gpt_enginner20240630030406 new file mode 160000 index 0000000000000000000000000000000000000000..e4749dda34be8f9e5861949524cf0f247d654e37 --- /dev/null +++ b/controllers/gpt_enginner20240630030406 @@ -0,0 +1 @@ +Subproject commit e4749dda34be8f9e5861949524cf0f247d654e37 diff --git a/controllers/gpt_enginner20240630030855 b/controllers/gpt_enginner20240630030855 new file mode 160000 index 0000000000000000000000000000000000000000..884c5213854e9292e8dfe8e38c6a4e21e9926f73 --- /dev/null +++ b/controllers/gpt_enginner20240630030855 @@ -0,0 +1 @@ +Subproject commit 884c5213854e9292e8dfe8e38c6a4e21e9926f73 diff --git a/controllers/gpt_enginner20240630031826 b/controllers/gpt_enginner20240630031826 new file mode 160000 index 0000000000000000000000000000000000000000..04f2ab2d1bfb3a480fa41c069896823462af3b35 --- /dev/null +++ b/controllers/gpt_enginner20240630031826 @@ -0,0 +1 @@ +Subproject commit 04f2ab2d1bfb3a480fa41c069896823462af3b35 diff --git a/controllers/gpt_enginner20240630032403 b/controllers/gpt_enginner20240630032403 new file mode 160000 index 0000000000000000000000000000000000000000..a9f664686443033584ba812408935a54bc9e4290 --- /dev/null +++ b/controllers/gpt_enginner20240630032403 @@ -0,0 +1 @@ +Subproject commit a9f664686443033584ba812408935a54bc9e4290 diff --git a/controllers/gpt_enginner20240630032744 b/controllers/gpt_enginner20240630032744 new file mode 160000 index 0000000000000000000000000000000000000000..43896abb0169d3e75b774c66ce9032b3687d5fcf --- /dev/null +++ b/controllers/gpt_enginner20240630032744 @@ -0,0 +1 @@ +Subproject commit 43896abb0169d3e75b774c66ce9032b3687d5fcf diff --git a/controllers/gpt_enginner20240630033934 b/controllers/gpt_enginner20240630033934 new file mode 160000 index 0000000000000000000000000000000000000000..28ebeb8a3f43cc3d55c78828adf19d0846215b9f --- /dev/null +++ b/controllers/gpt_enginner20240630033934 @@ -0,0 +1 @@ +Subproject commit 28ebeb8a3f43cc3d55c78828adf19d0846215b9f diff --git a/controllers/gpt_enginner20240630034221 b/controllers/gpt_enginner20240630034221 new file mode 160000 index 0000000000000000000000000000000000000000..84ad06425b39232b21c2bb3ab3c6046eacbc9d06 --- /dev/null +++ b/controllers/gpt_enginner20240630034221 @@ -0,0 +1 @@ +Subproject commit 84ad06425b39232b21c2bb3ab3c6046eacbc9d06 diff --git a/controllers/gpt_enginner20240630034507 b/controllers/gpt_enginner20240630034507 new file mode 160000 index 0000000000000000000000000000000000000000..e4a32b99fb959ddc7a175e1fdb48de87a8e0b600 --- /dev/null +++ b/controllers/gpt_enginner20240630034507 @@ -0,0 +1 @@ +Subproject commit e4a32b99fb959ddc7a175e1fdb48de87a8e0b600 diff --git a/controllers/gpt_enginner20240630035034 b/controllers/gpt_enginner20240630035034 new file mode 160000 index 0000000000000000000000000000000000000000..0ab58c5a7a3d5db9192f9a562ba84e6a94870973 --- /dev/null +++ b/controllers/gpt_enginner20240630035034 @@ -0,0 +1 @@ +Subproject commit 0ab58c5a7a3d5db9192f9a562ba84e6a94870973 diff --git a/controllers/gpt_enginner20240630035953 b/controllers/gpt_enginner20240630035953 new file mode 160000 index 0000000000000000000000000000000000000000..6610fa745dc9f07738250e73b0b19354ccb681be --- /dev/null +++ b/controllers/gpt_enginner20240630035953 @@ -0,0 +1 @@ +Subproject commit 6610fa745dc9f07738250e73b0b19354ccb681be diff --git a/controllers/gpt_enginner20240630042224 b/controllers/gpt_enginner20240630042224 new file mode 160000 index 0000000000000000000000000000000000000000..cb6cae0bbd5ff28dd0e0a4321303857578e5ca26 --- /dev/null +++ b/controllers/gpt_enginner20240630042224 @@ -0,0 +1 @@ +Subproject commit cb6cae0bbd5ff28dd0e0a4321303857578e5ca26 diff --git a/controllers/gpt_enginner20240630042641 b/controllers/gpt_enginner20240630042641 new file mode 160000 index 0000000000000000000000000000000000000000..b615422dbfd51d6a8fbdedb1c48aeb9ac3c70ec6 --- /dev/null +++ b/controllers/gpt_enginner20240630042641 @@ -0,0 +1 @@ +Subproject commit b615422dbfd51d6a8fbdedb1c48aeb9ac3c70ec6 diff --git a/controllers/gpt_enginner20240630043843 b/controllers/gpt_enginner20240630043843 new file mode 160000 index 0000000000000000000000000000000000000000..c593857c88f91c6e6a004e7a4795328039021d9c --- /dev/null +++ b/controllers/gpt_enginner20240630043843 @@ -0,0 +1 @@ +Subproject commit c593857c88f91c6e6a004e7a4795328039021d9c diff --git a/controllers/gpt_enginner20240630044555 b/controllers/gpt_enginner20240630044555 new file mode 160000 index 0000000000000000000000000000000000000000..d0ebe4f2a9ac60b68d6fda8ebf30c837dbfef372 --- /dev/null +++ b/controllers/gpt_enginner20240630044555 @@ -0,0 +1 @@ +Subproject commit d0ebe4f2a9ac60b68d6fda8ebf30c837dbfef372 diff --git a/controllers/gpt_enginner20240630050844 b/controllers/gpt_enginner20240630050844 new file mode 160000 index 0000000000000000000000000000000000000000..c1c8945487b9f805519f2e728ea44e4432dde0b9 --- /dev/null +++ b/controllers/gpt_enginner20240630050844 @@ -0,0 +1 @@ +Subproject commit c1c8945487b9f805519f2e728ea44e4432dde0b9 diff --git a/controllers/gpt_enginner20240630051314 b/controllers/gpt_enginner20240630051314 new file mode 160000 index 0000000000000000000000000000000000000000..1b8e03650c5a4e9200132bac40e560f35e472938 --- /dev/null +++ b/controllers/gpt_enginner20240630051314 @@ -0,0 +1 @@ +Subproject commit 1b8e03650c5a4e9200132bac40e560f35e472938 diff --git a/controllers/gpt_enginner20240630051717 b/controllers/gpt_enginner20240630051717 new file mode 160000 index 0000000000000000000000000000000000000000..fea07616e27cc54024d887822ae5bda9d981a2d4 --- /dev/null +++ b/controllers/gpt_enginner20240630051717 @@ -0,0 +1 @@ +Subproject commit fea07616e27cc54024d887822ae5bda9d981a2d4 diff --git a/controllers/gpt_enginner20240630051949 b/controllers/gpt_enginner20240630051949 new file mode 160000 index 0000000000000000000000000000000000000000..60d2e480a749134aee17a496d29f97f9d6bc9a0c --- /dev/null +++ b/controllers/gpt_enginner20240630051949 @@ -0,0 +1 @@ +Subproject commit 60d2e480a749134aee17a496d29f97f9d6bc9a0c diff --git a/controllers/gpt_enginner20240630052245 b/controllers/gpt_enginner20240630052245 new file mode 160000 index 0000000000000000000000000000000000000000..8294a1fcf04df2c6b0641ffee94a0839c60719b2 --- /dev/null +++ b/controllers/gpt_enginner20240630052245 @@ -0,0 +1 @@ +Subproject commit 8294a1fcf04df2c6b0641ffee94a0839c60719b2 diff --git a/controllers/gpt_enginner20240630053342 b/controllers/gpt_enginner20240630053342 new file mode 160000 index 0000000000000000000000000000000000000000..86a4ad3009abb51fb50fdaaa828e0309fb6c1f60 --- /dev/null +++ b/controllers/gpt_enginner20240630053342 @@ -0,0 +1 @@ +Subproject commit 86a4ad3009abb51fb50fdaaa828e0309fb6c1f60 diff --git a/controllers/gpt_enginner20240630054413 b/controllers/gpt_enginner20240630054413 new file mode 160000 index 0000000000000000000000000000000000000000..9ef9e10a00b37218f0b8e8f87d1c55bf2a6e60c4 --- /dev/null +++ b/controllers/gpt_enginner20240630054413 @@ -0,0 +1 @@ +Subproject commit 9ef9e10a00b37218f0b8e8f87d1c55bf2a6e60c4 diff --git a/controllers/gpt_enginner20240630054749 b/controllers/gpt_enginner20240630054749 new file mode 160000 index 0000000000000000000000000000000000000000..789e6bbf26cd4f7cf0217ceed61805e417af2063 --- /dev/null +++ b/controllers/gpt_enginner20240630054749 @@ -0,0 +1 @@ +Subproject commit 789e6bbf26cd4f7cf0217ceed61805e417af2063 diff --git a/controllers/gpt_enginner20240630055321 b/controllers/gpt_enginner20240630055321 new file mode 160000 index 0000000000000000000000000000000000000000..8210c68fdeafd24a3a0f970a5441ca649d118c4e --- /dev/null +++ b/controllers/gpt_enginner20240630055321 @@ -0,0 +1 @@ +Subproject commit 8210c68fdeafd24a3a0f970a5441ca649d118c4e diff --git a/controllers/gpt_enginner20240630055515 b/controllers/gpt_enginner20240630055515 new file mode 160000 index 0000000000000000000000000000000000000000..f50054cb7618c6238462eb53d2766df6a9816c02 --- /dev/null +++ b/controllers/gpt_enginner20240630055515 @@ -0,0 +1 @@ +Subproject commit f50054cb7618c6238462eb53d2766df6a9816c02 diff --git a/controllers/gpt_enginner20240630060534 b/controllers/gpt_enginner20240630060534 new file mode 160000 index 0000000000000000000000000000000000000000..1a682d5bc2716a63396561ddbf49e98c728230f1 --- /dev/null +++ b/controllers/gpt_enginner20240630060534 @@ -0,0 +1 @@ +Subproject commit 1a682d5bc2716a63396561ddbf49e98c728230f1 diff --git a/controllers/gpt_enginner20240630061336 b/controllers/gpt_enginner20240630061336 new file mode 160000 index 0000000000000000000000000000000000000000..b03fa370bb66a49a6dd38086fbd8387ac1c564ad --- /dev/null +++ b/controllers/gpt_enginner20240630061336 @@ -0,0 +1 @@ +Subproject commit b03fa370bb66a49a6dd38086fbd8387ac1c564ad diff --git a/controllers/gpt_enginner20240630061509 b/controllers/gpt_enginner20240630061509 new file mode 160000 index 0000000000000000000000000000000000000000..99074501bd45f56064826914087d04e24a9be03e --- /dev/null +++ b/controllers/gpt_enginner20240630061509 @@ -0,0 +1 @@ +Subproject commit 99074501bd45f56064826914087d04e24a9be03e diff --git a/controllers/gpt_enginner20240630061628 b/controllers/gpt_enginner20240630061628 new file mode 160000 index 0000000000000000000000000000000000000000..b36ce030693f748dcee6c24d6581245101d1e44b --- /dev/null +++ b/controllers/gpt_enginner20240630061628 @@ -0,0 +1 @@ +Subproject commit b36ce030693f748dcee6c24d6581245101d1e44b diff --git a/controllers/gpt_enginner20240630061840 b/controllers/gpt_enginner20240630061840 new file mode 160000 index 0000000000000000000000000000000000000000..22401fc5aa05f6eb093d9efa8db21b3a7f7a88bd --- /dev/null +++ b/controllers/gpt_enginner20240630061840 @@ -0,0 +1 @@ +Subproject commit 22401fc5aa05f6eb093d9efa8db21b3a7f7a88bd diff --git a/controllers/gpt_enginner20240630062044 b/controllers/gpt_enginner20240630062044 new file mode 160000 index 0000000000000000000000000000000000000000..5f0778a2e962d16f69ba04996252feabce0589a4 --- /dev/null +++ b/controllers/gpt_enginner20240630062044 @@ -0,0 +1 @@ +Subproject commit 5f0778a2e962d16f69ba04996252feabce0589a4 diff --git a/controllers/gpt_enginner20240701050528 b/controllers/gpt_enginner20240701050528 new file mode 160000 index 0000000000000000000000000000000000000000..30a31f6b2a5677c5afaa56791f894092060b77ef --- /dev/null +++ b/controllers/gpt_enginner20240701050528 @@ -0,0 +1 @@ +Subproject commit 30a31f6b2a5677c5afaa56791f894092060b77ef diff --git a/controllers/gpt_enginner20240701050614 b/controllers/gpt_enginner20240701050614 new file mode 160000 index 0000000000000000000000000000000000000000..4d7328df9d13030958b92327a68e8a30177e2bf1 --- /dev/null +++ b/controllers/gpt_enginner20240701050614 @@ -0,0 +1 @@ +Subproject commit 4d7328df9d13030958b92327a68e8a30177e2bf1 diff --git a/controllers/gpt_enginner20240701050745 b/controllers/gpt_enginner20240701050745 new file mode 160000 index 0000000000000000000000000000000000000000..c1de5681ef7e9f663bc6bbff0cac15ea3e846a51 --- /dev/null +++ b/controllers/gpt_enginner20240701050745 @@ -0,0 +1 @@ +Subproject commit c1de5681ef7e9f663bc6bbff0cac15ea3e846a51 diff --git a/controllers/gpt_enginner20240701050926 b/controllers/gpt_enginner20240701050926 new file mode 160000 index 0000000000000000000000000000000000000000..998a2eebb83c53dc8a295560fe82a341ab8066fc --- /dev/null +++ b/controllers/gpt_enginner20240701050926 @@ -0,0 +1 @@ +Subproject commit 998a2eebb83c53dc8a295560fe82a341ab8066fc diff --git a/controllers/gpt_enginner20240701051531 b/controllers/gpt_enginner20240701051531 new file mode 160000 index 0000000000000000000000000000000000000000..2935959dfe25fb410fdc4c96d3f64a25eeece859 --- /dev/null +++ b/controllers/gpt_enginner20240701051531 @@ -0,0 +1 @@ +Subproject commit 2935959dfe25fb410fdc4c96d3f64a25eeece859 diff --git a/controllers/gpt_enginner20240701051755 b/controllers/gpt_enginner20240701051755 new file mode 160000 index 0000000000000000000000000000000000000000..d546cd88a0086be18e91fe2681663bd83fbfc753 --- /dev/null +++ b/controllers/gpt_enginner20240701051755 @@ -0,0 +1 @@ +Subproject commit d546cd88a0086be18e91fe2681663bd83fbfc753 diff --git a/controllers/gpt_enginner20240701051823 b/controllers/gpt_enginner20240701051823 new file mode 160000 index 0000000000000000000000000000000000000000..c014edad9c6487aeec7cd3e0303bd90996598dfc --- /dev/null +++ b/controllers/gpt_enginner20240701051823 @@ -0,0 +1 @@ +Subproject commit c014edad9c6487aeec7cd3e0303bd90996598dfc diff --git a/controllers/gpt_enginner20240701051854 b/controllers/gpt_enginner20240701051854 new file mode 160000 index 0000000000000000000000000000000000000000..4c81a5c07ebba075ced29638dcdfd58f1a10c1ff --- /dev/null +++ b/controllers/gpt_enginner20240701051854 @@ -0,0 +1 @@ +Subproject commit 4c81a5c07ebba075ced29638dcdfd58f1a10c1ff diff --git a/controllers/gpt_enginner20240701051942 b/controllers/gpt_enginner20240701051942 new file mode 160000 index 0000000000000000000000000000000000000000..02f6d5f914cf727de52b652234f1f65b2b6246f7 --- /dev/null +++ b/controllers/gpt_enginner20240701051942 @@ -0,0 +1 @@ +Subproject commit 02f6d5f914cf727de52b652234f1f65b2b6246f7 diff --git a/controllers/gpt_enginner20240701052058 b/controllers/gpt_enginner20240701052058 new file mode 160000 index 0000000000000000000000000000000000000000..54b7e6ed5273edb85d3a257bdaa170ea4515938a --- /dev/null +++ b/controllers/gpt_enginner20240701052058 @@ -0,0 +1 @@ +Subproject commit 54b7e6ed5273edb85d3a257bdaa170ea4515938a diff --git a/controllers/gpt_enginner20240701052145 b/controllers/gpt_enginner20240701052145 new file mode 160000 index 0000000000000000000000000000000000000000..000abc7c6c4d6908574b8353a6193a9a181c94a5 --- /dev/null +++ b/controllers/gpt_enginner20240701052145 @@ -0,0 +1 @@ +Subproject commit 000abc7c6c4d6908574b8353a6193a9a181c94a5 diff --git a/controllers/gpt_enginner20240701052635 b/controllers/gpt_enginner20240701052635 new file mode 160000 index 0000000000000000000000000000000000000000..33983d1c704ffe990c3908c2c9442795fb546bfe --- /dev/null +++ b/controllers/gpt_enginner20240701052635 @@ -0,0 +1 @@ +Subproject commit 33983d1c704ffe990c3908c2c9442795fb546bfe diff --git a/controllers/gpt_enginner20240701052716 b/controllers/gpt_enginner20240701052716 new file mode 160000 index 0000000000000000000000000000000000000000..9658df6bf96d8d2047eff4f6937ca3838e2a9566 --- /dev/null +++ b/controllers/gpt_enginner20240701052716 @@ -0,0 +1 @@ +Subproject commit 9658df6bf96d8d2047eff4f6937ca3838e2a9566 diff --git a/controllers/gpt_enginner20240701052756 b/controllers/gpt_enginner20240701052756 new file mode 160000 index 0000000000000000000000000000000000000000..5993c110624d051175dc3d4cee77a1da43e16779 --- /dev/null +++ b/controllers/gpt_enginner20240701052756 @@ -0,0 +1 @@ +Subproject commit 5993c110624d051175dc3d4cee77a1da43e16779 diff --git a/controllers/gpt_enginner20240701052925 b/controllers/gpt_enginner20240701052925 new file mode 160000 index 0000000000000000000000000000000000000000..1fa37485a3ca9bd90a8dc77b606017fa13de3000 --- /dev/null +++ b/controllers/gpt_enginner20240701052925 @@ -0,0 +1 @@ +Subproject commit 1fa37485a3ca9bd90a8dc77b606017fa13de3000 diff --git a/controllers/gpt_enginner20240701053249 b/controllers/gpt_enginner20240701053249 new file mode 160000 index 0000000000000000000000000000000000000000..c3e61a1f2ccf6b42665a569e02f437ff271ec814 --- /dev/null +++ b/controllers/gpt_enginner20240701053249 @@ -0,0 +1 @@ +Subproject commit c3e61a1f2ccf6b42665a569e02f437ff271ec814 diff --git a/controllers/gpt_enginner20240701053548 b/controllers/gpt_enginner20240701053548 new file mode 160000 index 0000000000000000000000000000000000000000..76a045f3af10197b1621b01b2a752c922fb1a827 --- /dev/null +++ b/controllers/gpt_enginner20240701053548 @@ -0,0 +1 @@ +Subproject commit 76a045f3af10197b1621b01b2a752c922fb1a827 diff --git a/controllers/gpt_enginner20240701054247 b/controllers/gpt_enginner20240701054247 new file mode 160000 index 0000000000000000000000000000000000000000..bf6e179a784b9da24d8816ff3d3ff17ff7ebead5 --- /dev/null +++ b/controllers/gpt_enginner20240701054247 @@ -0,0 +1 @@ +Subproject commit bf6e179a784b9da24d8816ff3d3ff17ff7ebead5 diff --git a/controllers/gpt_enginner20240701054325 b/controllers/gpt_enginner20240701054325 new file mode 160000 index 0000000000000000000000000000000000000000..1ce3e4e012d7a02616a97af06d1bfd45f07df6cc --- /dev/null +++ b/controllers/gpt_enginner20240701054325 @@ -0,0 +1 @@ +Subproject commit 1ce3e4e012d7a02616a97af06d1bfd45f07df6cc diff --git a/controllers/gpt_enginner20240701054416 b/controllers/gpt_enginner20240701054416 new file mode 160000 index 0000000000000000000000000000000000000000..e9a38d70181269e3f0b546717931f8cfd6c79153 --- /dev/null +++ b/controllers/gpt_enginner20240701054416 @@ -0,0 +1 @@ +Subproject commit e9a38d70181269e3f0b546717931f8cfd6c79153 diff --git a/controllers/gpt_enginner20240701054547 b/controllers/gpt_enginner20240701054547 new file mode 160000 index 0000000000000000000000000000000000000000..3a13b418ddcb867ec16c9fe324e393e49e760785 --- /dev/null +++ b/controllers/gpt_enginner20240701054547 @@ -0,0 +1 @@ +Subproject commit 3a13b418ddcb867ec16c9fe324e393e49e760785 diff --git a/controllers/gpt_enginner20240701055850 b/controllers/gpt_enginner20240701055850 new file mode 160000 index 0000000000000000000000000000000000000000..e4aaaa0fbb637ae8591d668e2f22874e42fd4919 --- /dev/null +++ b/controllers/gpt_enginner20240701055850 @@ -0,0 +1 @@ +Subproject commit e4aaaa0fbb637ae8591d668e2f22874e42fd4919 diff --git a/controllers/gpt_enginner20240701061720 b/controllers/gpt_enginner20240701061720 new file mode 160000 index 0000000000000000000000000000000000000000..1e60f7164240a49250c36920181e4a42aea6b55b --- /dev/null +++ b/controllers/gpt_enginner20240701061720 @@ -0,0 +1 @@ +Subproject commit 1e60f7164240a49250c36920181e4a42aea6b55b diff --git a/controllers/gpt_enginner20240701061823 b/controllers/gpt_enginner20240701061823 new file mode 160000 index 0000000000000000000000000000000000000000..cb673b24113a2da9f193ca659fac2fd2c6fe6785 --- /dev/null +++ b/controllers/gpt_enginner20240701061823 @@ -0,0 +1 @@ +Subproject commit cb673b24113a2da9f193ca659fac2fd2c6fe6785 diff --git a/controllers/gpt_enginner20240701062057 b/controllers/gpt_enginner20240701062057 new file mode 160000 index 0000000000000000000000000000000000000000..3261a1b3b414b99ad17a43710ba1b0bde3506caa --- /dev/null +++ b/controllers/gpt_enginner20240701062057 @@ -0,0 +1 @@ +Subproject commit 3261a1b3b414b99ad17a43710ba1b0bde3506caa diff --git a/controllers/gpt_enginner20240701062133 b/controllers/gpt_enginner20240701062133 new file mode 160000 index 0000000000000000000000000000000000000000..03d15c76b36137b59ee8ff790cc97917a0f3eb9b --- /dev/null +++ b/controllers/gpt_enginner20240701062133 @@ -0,0 +1 @@ +Subproject commit 03d15c76b36137b59ee8ff790cc97917a0f3eb9b diff --git a/controllers/gpt_enginner20240701062329 b/controllers/gpt_enginner20240701062329 new file mode 160000 index 0000000000000000000000000000000000000000..8a48d5d334fd140dc17df5c43090bf0ad6e1dda7 --- /dev/null +++ b/controllers/gpt_enginner20240701062329 @@ -0,0 +1 @@ +Subproject commit 8a48d5d334fd140dc17df5c43090bf0ad6e1dda7 diff --git a/controllers/gpt_enginner20240701062430 b/controllers/gpt_enginner20240701062430 new file mode 160000 index 0000000000000000000000000000000000000000..05fc265917977e5095652256902726337f3dd975 --- /dev/null +++ b/controllers/gpt_enginner20240701062430 @@ -0,0 +1 @@ +Subproject commit 05fc265917977e5095652256902726337f3dd975 diff --git a/controllers/gpt_enginner20240701063600 b/controllers/gpt_enginner20240701063600 new file mode 160000 index 0000000000000000000000000000000000000000..bffbf8014ebc0c719459d303869f9099b9320a98 --- /dev/null +++ b/controllers/gpt_enginner20240701063600 @@ -0,0 +1 @@ +Subproject commit bffbf8014ebc0c719459d303869f9099b9320a98 diff --git a/controllers/gpt_enginner20240701064407 b/controllers/gpt_enginner20240701064407 new file mode 160000 index 0000000000000000000000000000000000000000..aba02a34f11dc4eb079d96153288b09665425658 --- /dev/null +++ b/controllers/gpt_enginner20240701064407 @@ -0,0 +1 @@ +Subproject commit aba02a34f11dc4eb079d96153288b09665425658 diff --git a/controllers/gpt_enginner20240701064506 b/controllers/gpt_enginner20240701064506 new file mode 160000 index 0000000000000000000000000000000000000000..760e522c5259462fd276eb1ab82712d7aa70e92c --- /dev/null +++ b/controllers/gpt_enginner20240701064506 @@ -0,0 +1 @@ +Subproject commit 760e522c5259462fd276eb1ab82712d7aa70e92c diff --git a/controllers/gpt_enginner20240701064607 b/controllers/gpt_enginner20240701064607 new file mode 160000 index 0000000000000000000000000000000000000000..276857228fd96787d49b7c7b36fb6f1d0a6f5359 --- /dev/null +++ b/controllers/gpt_enginner20240701064607 @@ -0,0 +1 @@ +Subproject commit 276857228fd96787d49b7c7b36fb6f1d0a6f5359 diff --git a/controllers/gpt_enginner20240701064841 b/controllers/gpt_enginner20240701064841 new file mode 160000 index 0000000000000000000000000000000000000000..267cec62d48dea6fc0342e87b9ceab2c3c8fe7bd --- /dev/null +++ b/controllers/gpt_enginner20240701064841 @@ -0,0 +1 @@ +Subproject commit 267cec62d48dea6fc0342e87b9ceab2c3c8fe7bd diff --git a/controllers/gpt_enginner20240701065146 b/controllers/gpt_enginner20240701065146 new file mode 160000 index 0000000000000000000000000000000000000000..b1e46ca705adeba9ec2bc9e383a0cbf49440c0e0 --- /dev/null +++ b/controllers/gpt_enginner20240701065146 @@ -0,0 +1 @@ +Subproject commit b1e46ca705adeba9ec2bc9e383a0cbf49440c0e0 diff --git a/controllers/gpt_enginner20240701065230 b/controllers/gpt_enginner20240701065230 new file mode 160000 index 0000000000000000000000000000000000000000..c27a749dd6641a5d473f2cb82eebf46a7f201815 --- /dev/null +++ b/controllers/gpt_enginner20240701065230 @@ -0,0 +1 @@ +Subproject commit c27a749dd6641a5d473f2cb82eebf46a7f201815 diff --git a/controllers/gpt_enginner20240701065644 b/controllers/gpt_enginner20240701065644 new file mode 160000 index 0000000000000000000000000000000000000000..f76d341ae41b3ebb2f4f1a6162b2a120357b466a --- /dev/null +++ b/controllers/gpt_enginner20240701065644 @@ -0,0 +1 @@ +Subproject commit f76d341ae41b3ebb2f4f1a6162b2a120357b466a diff --git a/controllers/gpt_enginner20240701065812 b/controllers/gpt_enginner20240701065812 new file mode 160000 index 0000000000000000000000000000000000000000..6d8bf01a91867ab07258231482baaec81f1ef4e0 --- /dev/null +++ b/controllers/gpt_enginner20240701065812 @@ -0,0 +1 @@ +Subproject commit 6d8bf01a91867ab07258231482baaec81f1ef4e0 diff --git a/controllers/gpt_enginner20240701065844 b/controllers/gpt_enginner20240701065844 new file mode 160000 index 0000000000000000000000000000000000000000..7eca27609a8315d58494c8f0dbab5f1111d13996 --- /dev/null +++ b/controllers/gpt_enginner20240701065844 @@ -0,0 +1 @@ +Subproject commit 7eca27609a8315d58494c8f0dbab5f1111d13996 diff --git a/controllers/gpt_enginner20240701070506 b/controllers/gpt_enginner20240701070506 new file mode 160000 index 0000000000000000000000000000000000000000..cb2ca3cb0d99c41e4e7a99d61f8377170a8bd8fa --- /dev/null +++ b/controllers/gpt_enginner20240701070506 @@ -0,0 +1 @@ +Subproject commit cb2ca3cb0d99c41e4e7a99d61f8377170a8bd8fa diff --git a/controllers/gpt_enginner20240701070549 b/controllers/gpt_enginner20240701070549 new file mode 160000 index 0000000000000000000000000000000000000000..8a232ccb59ffeb367ee18668e4b89985e4df440e --- /dev/null +++ b/controllers/gpt_enginner20240701070549 @@ -0,0 +1 @@ +Subproject commit 8a232ccb59ffeb367ee18668e4b89985e4df440e diff --git a/controllers/gpt_enginner20240701070621 b/controllers/gpt_enginner20240701070621 new file mode 160000 index 0000000000000000000000000000000000000000..e2ec809634b1229114a430c9a2c3da1e8c8bec06 --- /dev/null +++ b/controllers/gpt_enginner20240701070621 @@ -0,0 +1 @@ +Subproject commit e2ec809634b1229114a430c9a2c3da1e8c8bec06 diff --git a/controllers/gpt_enginner20240701070651 b/controllers/gpt_enginner20240701070651 new file mode 160000 index 0000000000000000000000000000000000000000..745210df2d3a3894ed6651ccdfdb29f19d4fd75e --- /dev/null +++ b/controllers/gpt_enginner20240701070651 @@ -0,0 +1 @@ +Subproject commit 745210df2d3a3894ed6651ccdfdb29f19d4fd75e diff --git a/controllers/gpt_enginner20240701070749 b/controllers/gpt_enginner20240701070749 new file mode 160000 index 0000000000000000000000000000000000000000..959682cb8eebfe8ec1606533ed0248f11f42e898 --- /dev/null +++ b/controllers/gpt_enginner20240701070749 @@ -0,0 +1 @@ +Subproject commit 959682cb8eebfe8ec1606533ed0248f11f42e898 diff --git a/controllers/gpt_enginner20240701071657 b/controllers/gpt_enginner20240701071657 new file mode 160000 index 0000000000000000000000000000000000000000..1cf9f0c0a80a005f83486ceb94ab2a58d9a6c658 --- /dev/null +++ b/controllers/gpt_enginner20240701071657 @@ -0,0 +1 @@ +Subproject commit 1cf9f0c0a80a005f83486ceb94ab2a58d9a6c658 diff --git a/controllers/gpt_enginner20240701071847 b/controllers/gpt_enginner20240701071847 new file mode 160000 index 0000000000000000000000000000000000000000..a1edd147b6f2963e6ea8587c464836fe94862a0d --- /dev/null +++ b/controllers/gpt_enginner20240701071847 @@ -0,0 +1 @@ +Subproject commit a1edd147b6f2963e6ea8587c464836fe94862a0d diff --git a/controllers/gpt_enginner20240701071931 b/controllers/gpt_enginner20240701071931 new file mode 160000 index 0000000000000000000000000000000000000000..384341c7dfc6d0e6863b9185628da5cae0108b15 --- /dev/null +++ b/controllers/gpt_enginner20240701071931 @@ -0,0 +1 @@ +Subproject commit 384341c7dfc6d0e6863b9185628da5cae0108b15 diff --git a/controllers/gpt_enginner20240701072434 b/controllers/gpt_enginner20240701072434 new file mode 160000 index 0000000000000000000000000000000000000000..dfde821f7fb1937a50e3b546e8ddd0fb784d35ce --- /dev/null +++ b/controllers/gpt_enginner20240701072434 @@ -0,0 +1 @@ +Subproject commit dfde821f7fb1937a50e3b546e8ddd0fb784d35ce diff --git a/controllers/gpt_enginner20240701072613 b/controllers/gpt_enginner20240701072613 new file mode 160000 index 0000000000000000000000000000000000000000..cf48c05b94b51ea4e7a47ac0800c4cc082926c77 --- /dev/null +++ b/controllers/gpt_enginner20240701072613 @@ -0,0 +1 @@ +Subproject commit cf48c05b94b51ea4e7a47ac0800c4cc082926c77 diff --git a/controllers/gpt_enginner20240701072648 b/controllers/gpt_enginner20240701072648 new file mode 160000 index 0000000000000000000000000000000000000000..9752ea26b4801301d773cabfb2443dcfba6960f7 --- /dev/null +++ b/controllers/gpt_enginner20240701072648 @@ -0,0 +1 @@ +Subproject commit 9752ea26b4801301d773cabfb2443dcfba6960f7 diff --git a/controllers/gpt_enginner20240701072727 b/controllers/gpt_enginner20240701072727 new file mode 160000 index 0000000000000000000000000000000000000000..b30d4043851dfca92353b275a2786250405a1f6e --- /dev/null +++ b/controllers/gpt_enginner20240701072727 @@ -0,0 +1 @@ +Subproject commit b30d4043851dfca92353b275a2786250405a1f6e diff --git a/controllers/gpt_enginner20240701072845 b/controllers/gpt_enginner20240701072845 new file mode 160000 index 0000000000000000000000000000000000000000..86155f0bcd386a1b36cd1d0a41b4a180135ff5d4 --- /dev/null +++ b/controllers/gpt_enginner20240701072845 @@ -0,0 +1 @@ +Subproject commit 86155f0bcd386a1b36cd1d0a41b4a180135ff5d4 diff --git a/controllers/gpt_enginner20240701072923 b/controllers/gpt_enginner20240701072923 new file mode 160000 index 0000000000000000000000000000000000000000..95db2dd1e5133189d12fd40b756f62a451e174b1 --- /dev/null +++ b/controllers/gpt_enginner20240701072923 @@ -0,0 +1 @@ +Subproject commit 95db2dd1e5133189d12fd40b756f62a451e174b1 diff --git a/controllers/gpt_enginner20240701073015 b/controllers/gpt_enginner20240701073015 new file mode 160000 index 0000000000000000000000000000000000000000..55d9ba21b4c8c772c871a97ab1ab12f6d3b2a5b1 --- /dev/null +++ b/controllers/gpt_enginner20240701073015 @@ -0,0 +1 @@ +Subproject commit 55d9ba21b4c8c772c871a97ab1ab12f6d3b2a5b1 diff --git a/controllers/gpt_enginner20240701073136 b/controllers/gpt_enginner20240701073136 new file mode 160000 index 0000000000000000000000000000000000000000..850690b80aecf7491da11a37d15c5e4610b6524e --- /dev/null +++ b/controllers/gpt_enginner20240701073136 @@ -0,0 +1 @@ +Subproject commit 850690b80aecf7491da11a37d15c5e4610b6524e diff --git a/controllers/gpt_enginner20240701073313 b/controllers/gpt_enginner20240701073313 new file mode 160000 index 0000000000000000000000000000000000000000..b035e843e99da6381c30ffc3f925451e9aee53d2 --- /dev/null +++ b/controllers/gpt_enginner20240701073313 @@ -0,0 +1 @@ +Subproject commit b035e843e99da6381c30ffc3f925451e9aee53d2 diff --git a/controllers/gpt_enginner20240701073601 b/controllers/gpt_enginner20240701073601 new file mode 160000 index 0000000000000000000000000000000000000000..1c1bda91eab1e1fa093af3cc2f51b868a01b86d8 --- /dev/null +++ b/controllers/gpt_enginner20240701073601 @@ -0,0 +1 @@ +Subproject commit 1c1bda91eab1e1fa093af3cc2f51b868a01b86d8 diff --git a/controllers/gpt_enginner20240701073740 b/controllers/gpt_enginner20240701073740 new file mode 160000 index 0000000000000000000000000000000000000000..a8422db0b94b4b5c6a52e103c6bfc27db4542d7c --- /dev/null +++ b/controllers/gpt_enginner20240701073740 @@ -0,0 +1 @@ +Subproject commit a8422db0b94b4b5c6a52e103c6bfc27db4542d7c diff --git a/controllers/gpt_enginner20240701073813 b/controllers/gpt_enginner20240701073813 new file mode 160000 index 0000000000000000000000000000000000000000..800cf51f82d8a93c8dcee7288270f01a7ea76427 --- /dev/null +++ b/controllers/gpt_enginner20240701073813 @@ -0,0 +1 @@ +Subproject commit 800cf51f82d8a93c8dcee7288270f01a7ea76427 diff --git a/controllers/gpt_enginner20240701073936 b/controllers/gpt_enginner20240701073936 new file mode 160000 index 0000000000000000000000000000000000000000..51d31df26330c046f82205bd7f29cd027e63ce13 --- /dev/null +++ b/controllers/gpt_enginner20240701073936 @@ -0,0 +1 @@ +Subproject commit 51d31df26330c046f82205bd7f29cd027e63ce13 diff --git a/controllers/gpt_enginner20240701074007 b/controllers/gpt_enginner20240701074007 new file mode 160000 index 0000000000000000000000000000000000000000..6cf561c994b79ebde3d2a750ec19a6b4b7728509 --- /dev/null +++ b/controllers/gpt_enginner20240701074007 @@ -0,0 +1 @@ +Subproject commit 6cf561c994b79ebde3d2a750ec19a6b4b7728509 diff --git a/controllers/gpt_enginner20240701074103 b/controllers/gpt_enginner20240701074103 new file mode 160000 index 0000000000000000000000000000000000000000..48715b41b16bcdb472fec430ba67dc8961be73fe --- /dev/null +++ b/controllers/gpt_enginner20240701074103 @@ -0,0 +1 @@ +Subproject commit 48715b41b16bcdb472fec430ba67dc8961be73fe diff --git a/controllers/gpt_enginner20240701074152 b/controllers/gpt_enginner20240701074152 new file mode 160000 index 0000000000000000000000000000000000000000..ec578a9e1741b6301c5c99e46ea3f75feb1f04d6 --- /dev/null +++ b/controllers/gpt_enginner20240701074152 @@ -0,0 +1 @@ +Subproject commit ec578a9e1741b6301c5c99e46ea3f75feb1f04d6 diff --git a/controllers/gpt_enginner20240701074300 b/controllers/gpt_enginner20240701074300 new file mode 160000 index 0000000000000000000000000000000000000000..f90a7589827b2819b9964c3e7a9940078e1f88a1 --- /dev/null +++ b/controllers/gpt_enginner20240701074300 @@ -0,0 +1 @@ +Subproject commit f90a7589827b2819b9964c3e7a9940078e1f88a1 diff --git a/controllers/gpt_enginner20240701074446 b/controllers/gpt_enginner20240701074446 new file mode 160000 index 0000000000000000000000000000000000000000..f2a384731241694ef019222b56ba6d4281462513 --- /dev/null +++ b/controllers/gpt_enginner20240701074446 @@ -0,0 +1 @@ +Subproject commit f2a384731241694ef019222b56ba6d4281462513 diff --git a/controllers/gpt_enginner20240701074744 b/controllers/gpt_enginner20240701074744 new file mode 160000 index 0000000000000000000000000000000000000000..ac8a759b89366db4d520c6f9167c527affeb013e --- /dev/null +++ b/controllers/gpt_enginner20240701074744 @@ -0,0 +1 @@ +Subproject commit ac8a759b89366db4d520c6f9167c527affeb013e diff --git a/controllers/gpt_enginner20240701074914 b/controllers/gpt_enginner20240701074914 new file mode 160000 index 0000000000000000000000000000000000000000..1ceaa7063c5c7fb679f35c200c6a7c3b770a9d70 --- /dev/null +++ b/controllers/gpt_enginner20240701074914 @@ -0,0 +1 @@ +Subproject commit 1ceaa7063c5c7fb679f35c200c6a7c3b770a9d70 diff --git a/controllers/gpt_enginner20240701075157 b/controllers/gpt_enginner20240701075157 new file mode 160000 index 0000000000000000000000000000000000000000..3879e12ca76a855f3d836f2de996769f092e6b85 --- /dev/null +++ b/controllers/gpt_enginner20240701075157 @@ -0,0 +1 @@ +Subproject commit 3879e12ca76a855f3d836f2de996769f092e6b85 diff --git a/controllers/gpt_enginner20240701075325 b/controllers/gpt_enginner20240701075325 new file mode 160000 index 0000000000000000000000000000000000000000..8dd3c62810b7262d191e12ec802dca651c480e76 --- /dev/null +++ b/controllers/gpt_enginner20240701075325 @@ -0,0 +1 @@ +Subproject commit 8dd3c62810b7262d191e12ec802dca651c480e76 diff --git a/controllers/gpt_enginner20240701075608 b/controllers/gpt_enginner20240701075608 new file mode 160000 index 0000000000000000000000000000000000000000..b0177ffebd1dbb85e7c12b87541eaf30ad8de3c0 --- /dev/null +++ b/controllers/gpt_enginner20240701075608 @@ -0,0 +1 @@ +Subproject commit b0177ffebd1dbb85e7c12b87541eaf30ad8de3c0 diff --git a/controllers/gpt_enginner20240701075934 b/controllers/gpt_enginner20240701075934 new file mode 160000 index 0000000000000000000000000000000000000000..f7326ada44e0ccb634065abd246bd696bb6731e7 --- /dev/null +++ b/controllers/gpt_enginner20240701075934 @@ -0,0 +1 @@ +Subproject commit f7326ada44e0ccb634065abd246bd696bb6731e7 diff --git a/controllers/gpt_enginner20240701080518 b/controllers/gpt_enginner20240701080518 new file mode 160000 index 0000000000000000000000000000000000000000..690204fb92064c3cde9bb3d0a5351bf26682e164 --- /dev/null +++ b/controllers/gpt_enginner20240701080518 @@ -0,0 +1 @@ +Subproject commit 690204fb92064c3cde9bb3d0a5351bf26682e164 diff --git a/controllers/gpt_enginner20240701081558 b/controllers/gpt_enginner20240701081558 new file mode 160000 index 0000000000000000000000000000000000000000..8b928b9c43bc0dd3c2fd5e74fe9aa9a8d156fc59 --- /dev/null +++ b/controllers/gpt_enginner20240701081558 @@ -0,0 +1 @@ +Subproject commit 8b928b9c43bc0dd3c2fd5e74fe9aa9a8d156fc59 diff --git a/controllers/gpt_enginner20240701082021 b/controllers/gpt_enginner20240701082021 new file mode 160000 index 0000000000000000000000000000000000000000..cfe5190c79b3e8a2816fa81c2fdc3d321f42030a --- /dev/null +++ b/controllers/gpt_enginner20240701082021 @@ -0,0 +1 @@ +Subproject commit cfe5190c79b3e8a2816fa81c2fdc3d321f42030a diff --git a/controllers/gpt_enginner20240701082806 b/controllers/gpt_enginner20240701082806 new file mode 160000 index 0000000000000000000000000000000000000000..3e3304df70446bcc26f2aa4a632301df21d054af --- /dev/null +++ b/controllers/gpt_enginner20240701082806 @@ -0,0 +1 @@ +Subproject commit 3e3304df70446bcc26f2aa4a632301df21d054af diff --git a/controllers/gpt_enginner20240701083021 b/controllers/gpt_enginner20240701083021 new file mode 160000 index 0000000000000000000000000000000000000000..060e2b9ad156c34dff7d38f16b5d22a891dd3652 --- /dev/null +++ b/controllers/gpt_enginner20240701083021 @@ -0,0 +1 @@ +Subproject commit 060e2b9ad156c34dff7d38f16b5d22a891dd3652 diff --git a/controllers/gpt_enginner20240701083208 b/controllers/gpt_enginner20240701083208 new file mode 160000 index 0000000000000000000000000000000000000000..a889c10b4a888c28572857b60a7058242e968971 --- /dev/null +++ b/controllers/gpt_enginner20240701083208 @@ -0,0 +1 @@ +Subproject commit a889c10b4a888c28572857b60a7058242e968971 diff --git a/controllers/gpt_enginner20240701083432 b/controllers/gpt_enginner20240701083432 new file mode 160000 index 0000000000000000000000000000000000000000..d43275d01555cecd48d6846fe5b2aaba37c681fd --- /dev/null +++ b/controllers/gpt_enginner20240701083432 @@ -0,0 +1 @@ +Subproject commit d43275d01555cecd48d6846fe5b2aaba37c681fd diff --git a/controllers/gpt_enginner20240701083634 b/controllers/gpt_enginner20240701083634 new file mode 160000 index 0000000000000000000000000000000000000000..96d47ccb2aea13ef54473bd50b57b4494e5b920d --- /dev/null +++ b/controllers/gpt_enginner20240701083634 @@ -0,0 +1 @@ +Subproject commit 96d47ccb2aea13ef54473bd50b57b4494e5b920d diff --git a/controllers/gpt_enginner20240701084054 b/controllers/gpt_enginner20240701084054 new file mode 160000 index 0000000000000000000000000000000000000000..73fe8ef8a63a81aacca7399f31b94f75094ff8fd --- /dev/null +++ b/controllers/gpt_enginner20240701084054 @@ -0,0 +1 @@ +Subproject commit 73fe8ef8a63a81aacca7399f31b94f75094ff8fd diff --git a/controllers/gpt_enginner20240701084305 b/controllers/gpt_enginner20240701084305 new file mode 160000 index 0000000000000000000000000000000000000000..5304ebb536b406753ad7d08193875d874214c11c --- /dev/null +++ b/controllers/gpt_enginner20240701084305 @@ -0,0 +1 @@ +Subproject commit 5304ebb536b406753ad7d08193875d874214c11c diff --git a/controllers/gpt_enginner20240701090558 b/controllers/gpt_enginner20240701090558 new file mode 160000 index 0000000000000000000000000000000000000000..0285848cdaa185bd6a96bb52f9a5a1d7be6371be --- /dev/null +++ b/controllers/gpt_enginner20240701090558 @@ -0,0 +1 @@ +Subproject commit 0285848cdaa185bd6a96bb52f9a5a1d7be6371be diff --git a/controllers/gpt_enginner20240701090714 b/controllers/gpt_enginner20240701090714 new file mode 160000 index 0000000000000000000000000000000000000000..a328037d391795147b8ce2c4e8b4973e8b9f6419 --- /dev/null +++ b/controllers/gpt_enginner20240701090714 @@ -0,0 +1 @@ +Subproject commit a328037d391795147b8ce2c4e8b4973e8b9f6419 diff --git a/controllers/gpt_enginner20240701090749 b/controllers/gpt_enginner20240701090749 new file mode 160000 index 0000000000000000000000000000000000000000..c1aaef38c3183e3a1927cbdc514cbe7f669c5f10 --- /dev/null +++ b/controllers/gpt_enginner20240701090749 @@ -0,0 +1 @@ +Subproject commit c1aaef38c3183e3a1927cbdc514cbe7f669c5f10 diff --git a/controllers/gpt_enginner20240701090826 b/controllers/gpt_enginner20240701090826 new file mode 160000 index 0000000000000000000000000000000000000000..3db68de58e43439291e9151d6b3eea6b63e9232a --- /dev/null +++ b/controllers/gpt_enginner20240701090826 @@ -0,0 +1 @@ +Subproject commit 3db68de58e43439291e9151d6b3eea6b63e9232a diff --git a/controllers/gpt_enginner20240701090920 b/controllers/gpt_enginner20240701090920 new file mode 160000 index 0000000000000000000000000000000000000000..dfd1b82cf28a1385202a5bf40cc71af36d4da095 --- /dev/null +++ b/controllers/gpt_enginner20240701090920 @@ -0,0 +1 @@ +Subproject commit dfd1b82cf28a1385202a5bf40cc71af36d4da095 diff --git a/controllers/gpt_enginner20240701091028 b/controllers/gpt_enginner20240701091028 new file mode 160000 index 0000000000000000000000000000000000000000..1aa221aa981a63e571daa6b6b1a2e26694134130 --- /dev/null +++ b/controllers/gpt_enginner20240701091028 @@ -0,0 +1 @@ +Subproject commit 1aa221aa981a63e571daa6b6b1a2e26694134130 diff --git a/controllers/gpt_enginner20240701110931 b/controllers/gpt_enginner20240701110931 new file mode 160000 index 0000000000000000000000000000000000000000..e6f43a55b50dc2a8836dbab4222016da8bb50137 --- /dev/null +++ b/controllers/gpt_enginner20240701110931 @@ -0,0 +1 @@ +Subproject commit e6f43a55b50dc2a8836dbab4222016da8bb50137 diff --git a/controllers/gpt_enginner20240701111125 b/controllers/gpt_enginner20240701111125 new file mode 160000 index 0000000000000000000000000000000000000000..814b806fa0c2c6734f2f0378123e8fcb21057926 --- /dev/null +++ b/controllers/gpt_enginner20240701111125 @@ -0,0 +1 @@ +Subproject commit 814b806fa0c2c6734f2f0378123e8fcb21057926 diff --git a/controllers/gpt_enginner20240701111159 b/controllers/gpt_enginner20240701111159 new file mode 160000 index 0000000000000000000000000000000000000000..46d37945fd49f0f7cb518df2b40f81c51a220b19 --- /dev/null +++ b/controllers/gpt_enginner20240701111159 @@ -0,0 +1 @@ +Subproject commit 46d37945fd49f0f7cb518df2b40f81c51a220b19 diff --git a/controllers/gpt_enginner20240701111311 b/controllers/gpt_enginner20240701111311 new file mode 160000 index 0000000000000000000000000000000000000000..79747100b3bac344db7dd775d05fbcd2666f0e45 --- /dev/null +++ b/controllers/gpt_enginner20240701111311 @@ -0,0 +1 @@ +Subproject commit 79747100b3bac344db7dd775d05fbcd2666f0e45 diff --git a/controllers/gpt_enginner20240701112117 b/controllers/gpt_enginner20240701112117 new file mode 160000 index 0000000000000000000000000000000000000000..433bd9bc7ec34308d802cd7fa1ec5bcf3dd199a2 --- /dev/null +++ b/controllers/gpt_enginner20240701112117 @@ -0,0 +1 @@ +Subproject commit 433bd9bc7ec34308d802cd7fa1ec5bcf3dd199a2 diff --git a/controllers/gpt_enginner20240701112146 b/controllers/gpt_enginner20240701112146 new file mode 160000 index 0000000000000000000000000000000000000000..036feffdd63baf460c53593351bbae440e2159a1 --- /dev/null +++ b/controllers/gpt_enginner20240701112146 @@ -0,0 +1 @@ +Subproject commit 036feffdd63baf460c53593351bbae440e2159a1 diff --git a/controllers/gpt_enginner20240701112215 b/controllers/gpt_enginner20240701112215 new file mode 160000 index 0000000000000000000000000000000000000000..88f3bb1bd605d8117a9a64dcf9895fb1ccc1a266 --- /dev/null +++ b/controllers/gpt_enginner20240701112215 @@ -0,0 +1 @@ +Subproject commit 88f3bb1bd605d8117a9a64dcf9895fb1ccc1a266 diff --git a/controllers/gpt_enginner20240701112320 b/controllers/gpt_enginner20240701112320 new file mode 160000 index 0000000000000000000000000000000000000000..9b86c80e184b4ba0fb196f518e642f709eab54cd --- /dev/null +++ b/controllers/gpt_enginner20240701112320 @@ -0,0 +1 @@ +Subproject commit 9b86c80e184b4ba0fb196f518e642f709eab54cd diff --git a/controllers/gpt_enginner20240701113016 b/controllers/gpt_enginner20240701113016 new file mode 160000 index 0000000000000000000000000000000000000000..e15fd5e1552ef1a52717e7b85f615a7230437c22 --- /dev/null +++ b/controllers/gpt_enginner20240701113016 @@ -0,0 +1 @@ +Subproject commit e15fd5e1552ef1a52717e7b85f615a7230437c22 diff --git a/controllers/gpt_enginner20240701130750 b/controllers/gpt_enginner20240701130750 new file mode 160000 index 0000000000000000000000000000000000000000..0638d23fd86129f02c678f1c14872bf6a96ef94a --- /dev/null +++ b/controllers/gpt_enginner20240701130750 @@ -0,0 +1 @@ +Subproject commit 0638d23fd86129f02c678f1c14872bf6a96ef94a diff --git a/controllers/gpt_enginner20240701130830 b/controllers/gpt_enginner20240701130830 new file mode 160000 index 0000000000000000000000000000000000000000..77de3064620fa649b7ef14c4bb6967a0a7ee206c --- /dev/null +++ b/controllers/gpt_enginner20240701130830 @@ -0,0 +1 @@ +Subproject commit 77de3064620fa649b7ef14c4bb6967a0a7ee206c diff --git a/controllers/gpt_enginner20240701131017 b/controllers/gpt_enginner20240701131017 new file mode 160000 index 0000000000000000000000000000000000000000..24d9f03e91bc2018a622a0b9ced19e6a6ae31f30 --- /dev/null +++ b/controllers/gpt_enginner20240701131017 @@ -0,0 +1 @@ +Subproject commit 24d9f03e91bc2018a622a0b9ced19e6a6ae31f30 diff --git a/controllers/gpt_enginner20240701131054 b/controllers/gpt_enginner20240701131054 new file mode 160000 index 0000000000000000000000000000000000000000..dc424171ea85262fbc7e21fad7c5dea2263a9e0f --- /dev/null +++ b/controllers/gpt_enginner20240701131054 @@ -0,0 +1 @@ +Subproject commit dc424171ea85262fbc7e21fad7c5dea2263a9e0f diff --git a/controllers/gpt_enginner20240701131552 b/controllers/gpt_enginner20240701131552 new file mode 160000 index 0000000000000000000000000000000000000000..14904971482e433a37470992eca7cc82aad5a45a --- /dev/null +++ b/controllers/gpt_enginner20240701131552 @@ -0,0 +1 @@ +Subproject commit 14904971482e433a37470992eca7cc82aad5a45a diff --git a/controllers/gpt_enginner20240701131729 b/controllers/gpt_enginner20240701131729 new file mode 160000 index 0000000000000000000000000000000000000000..3a35b696af98954b8cc27962b87ca0d974ce1c56 --- /dev/null +++ b/controllers/gpt_enginner20240701131729 @@ -0,0 +1 @@ +Subproject commit 3a35b696af98954b8cc27962b87ca0d974ce1c56 diff --git a/controllers/gpt_enginner20240701132030 b/controllers/gpt_enginner20240701132030 new file mode 160000 index 0000000000000000000000000000000000000000..6f395e1036a865b3ff452bcd605bfb526bbf01fb --- /dev/null +++ b/controllers/gpt_enginner20240701132030 @@ -0,0 +1 @@ +Subproject commit 6f395e1036a865b3ff452bcd605bfb526bbf01fb diff --git a/controllers/gpt_enginner20240701133330 b/controllers/gpt_enginner20240701133330 new file mode 160000 index 0000000000000000000000000000000000000000..54a3031fa0c467d33e39233435ab15013035b9db --- /dev/null +++ b/controllers/gpt_enginner20240701133330 @@ -0,0 +1 @@ +Subproject commit 54a3031fa0c467d33e39233435ab15013035b9db diff --git a/controllers/gpt_enginner20240701134042 b/controllers/gpt_enginner20240701134042 new file mode 160000 index 0000000000000000000000000000000000000000..e3e43f68a22237752bf7ff6481afd1eb706d5b0a --- /dev/null +++ b/controllers/gpt_enginner20240701134042 @@ -0,0 +1 @@ +Subproject commit e3e43f68a22237752bf7ff6481afd1eb706d5b0a diff --git a/controllers/gpt_enginner20240701134125 b/controllers/gpt_enginner20240701134125 new file mode 160000 index 0000000000000000000000000000000000000000..cf720732262583ded4df5d284f3beac7dc79ce95 --- /dev/null +++ b/controllers/gpt_enginner20240701134125 @@ -0,0 +1 @@ +Subproject commit cf720732262583ded4df5d284f3beac7dc79ce95 diff --git a/controllers/gpt_enginner20240701134717 b/controllers/gpt_enginner20240701134717 new file mode 160000 index 0000000000000000000000000000000000000000..b62130b01c93004104e8de25a81141a8bfb364e9 --- /dev/null +++ b/controllers/gpt_enginner20240701134717 @@ -0,0 +1 @@ +Subproject commit b62130b01c93004104e8de25a81141a8bfb364e9 diff --git a/controllers/gpt_enginner20240701135019 b/controllers/gpt_enginner20240701135019 new file mode 160000 index 0000000000000000000000000000000000000000..eccbb32bb472727429bedd8065378100c19bd9d0 --- /dev/null +++ b/controllers/gpt_enginner20240701135019 @@ -0,0 +1 @@ +Subproject commit eccbb32bb472727429bedd8065378100c19bd9d0 diff --git a/controllers/gpt_enginner20240701135202 b/controllers/gpt_enginner20240701135202 new file mode 160000 index 0000000000000000000000000000000000000000..a2bbc252bfe7178bc28bdfc60e2a7585fd927cdf --- /dev/null +++ b/controllers/gpt_enginner20240701135202 @@ -0,0 +1 @@ +Subproject commit a2bbc252bfe7178bc28bdfc60e2a7585fd927cdf diff --git a/controllers/gpt_enginner20240701135358 b/controllers/gpt_enginner20240701135358 new file mode 160000 index 0000000000000000000000000000000000000000..ef1c349da2e6195f7996ca3f190220d859f9d3ed --- /dev/null +++ b/controllers/gpt_enginner20240701135358 @@ -0,0 +1 @@ +Subproject commit ef1c349da2e6195f7996ca3f190220d859f9d3ed diff --git a/controllers/gpt_enginner20240701135606 b/controllers/gpt_enginner20240701135606 new file mode 160000 index 0000000000000000000000000000000000000000..ac16dee7b940d1bfbbf556b5aa8de362209d4137 --- /dev/null +++ b/controllers/gpt_enginner20240701135606 @@ -0,0 +1 @@ +Subproject commit ac16dee7b940d1bfbbf556b5aa8de362209d4137 diff --git a/controllers/gpt_enginner20240701141907 b/controllers/gpt_enginner20240701141907 new file mode 160000 index 0000000000000000000000000000000000000000..945d2847563f60918fd44f6e6fa3ee2bd9d828da --- /dev/null +++ b/controllers/gpt_enginner20240701141907 @@ -0,0 +1 @@ +Subproject commit 945d2847563f60918fd44f6e6fa3ee2bd9d828da diff --git a/controllers/gpt_enginner20240701150615 b/controllers/gpt_enginner20240701150615 new file mode 160000 index 0000000000000000000000000000000000000000..da67ab1072ebef43d77487277ed9fbaf9a8ced30 --- /dev/null +++ b/controllers/gpt_enginner20240701150615 @@ -0,0 +1 @@ +Subproject commit da67ab1072ebef43d77487277ed9fbaf9a8ced30 diff --git a/controllers/gpt_enginner20240701164831 b/controllers/gpt_enginner20240701164831 new file mode 160000 index 0000000000000000000000000000000000000000..fbfee1cf7250afd0b0a02f9f5b3f760fc3d0200a --- /dev/null +++ b/controllers/gpt_enginner20240701164831 @@ -0,0 +1 @@ +Subproject commit fbfee1cf7250afd0b0a02f9f5b3f760fc3d0200a diff --git a/controllers/gpt_enginner20240701164913 b/controllers/gpt_enginner20240701164913 new file mode 160000 index 0000000000000000000000000000000000000000..e838ad9f9a63b1b4016c678ca94dd8992b0f57d0 --- /dev/null +++ b/controllers/gpt_enginner20240701164913 @@ -0,0 +1 @@ +Subproject commit e838ad9f9a63b1b4016c678ca94dd8992b0f57d0 diff --git a/controllers/gpt_enginner20240701165348 b/controllers/gpt_enginner20240701165348 new file mode 160000 index 0000000000000000000000000000000000000000..68c32483f31458fc7ccec0b38197c0a2fb68ecb0 --- /dev/null +++ b/controllers/gpt_enginner20240701165348 @@ -0,0 +1 @@ +Subproject commit 68c32483f31458fc7ccec0b38197c0a2fb68ecb0 diff --git a/controllers/gpt_enginner20240701165532 b/controllers/gpt_enginner20240701165532 new file mode 160000 index 0000000000000000000000000000000000000000..6d779bb5fa1c91673810e4946db8fe8dd346924c --- /dev/null +++ b/controllers/gpt_enginner20240701165532 @@ -0,0 +1 @@ +Subproject commit 6d779bb5fa1c91673810e4946db8fe8dd346924c diff --git a/controllers/gpt_enginner20240701165714 b/controllers/gpt_enginner20240701165714 new file mode 160000 index 0000000000000000000000000000000000000000..b01dde52f35187b1e25f53e4417f49b25c322285 --- /dev/null +++ b/controllers/gpt_enginner20240701165714 @@ -0,0 +1 @@ +Subproject commit b01dde52f35187b1e25f53e4417f49b25c322285 diff --git a/controllers/gpt_enginner20240701170814 b/controllers/gpt_enginner20240701170814 new file mode 160000 index 0000000000000000000000000000000000000000..30cf5f6ad07cd336015619e223eb46930e84efbc --- /dev/null +++ b/controllers/gpt_enginner20240701170814 @@ -0,0 +1 @@ +Subproject commit 30cf5f6ad07cd336015619e223eb46930e84efbc diff --git a/controllers/gpt_enginner20240701171856 b/controllers/gpt_enginner20240701171856 new file mode 160000 index 0000000000000000000000000000000000000000..cb49a755de66e4c5bda5cea92fd71199ab12b920 --- /dev/null +++ b/controllers/gpt_enginner20240701171856 @@ -0,0 +1 @@ +Subproject commit cb49a755de66e4c5bda5cea92fd71199ab12b920 diff --git a/controllers/gpt_enginner20240701172902 b/controllers/gpt_enginner20240701172902 new file mode 160000 index 0000000000000000000000000000000000000000..ac9c5feee750b044042ba460d20405e92b99a331 --- /dev/null +++ b/controllers/gpt_enginner20240701172902 @@ -0,0 +1 @@ +Subproject commit ac9c5feee750b044042ba460d20405e92b99a331 diff --git a/controllers/gpt_enginner20240701173008 b/controllers/gpt_enginner20240701173008 new file mode 160000 index 0000000000000000000000000000000000000000..05398f55a7ccff9202cfd079c16b7b1c988115cd --- /dev/null +++ b/controllers/gpt_enginner20240701173008 @@ -0,0 +1 @@ +Subproject commit 05398f55a7ccff9202cfd079c16b7b1c988115cd diff --git a/controllers/gpt_enginner20240701173117 b/controllers/gpt_enginner20240701173117 new file mode 160000 index 0000000000000000000000000000000000000000..ccef86a9ad931e939827e56828457ea8a4443fda --- /dev/null +++ b/controllers/gpt_enginner20240701173117 @@ -0,0 +1 @@ +Subproject commit ccef86a9ad931e939827e56828457ea8a4443fda diff --git a/controllers/gpt_enginner20240701181922 b/controllers/gpt_enginner20240701181922 new file mode 160000 index 0000000000000000000000000000000000000000..6dc8729105decf0f64a465455c855251aff7ee7d --- /dev/null +++ b/controllers/gpt_enginner20240701181922 @@ -0,0 +1 @@ +Subproject commit 6dc8729105decf0f64a465455c855251aff7ee7d diff --git a/controllers/gpt_enginner20240701182358 b/controllers/gpt_enginner20240701182358 new file mode 160000 index 0000000000000000000000000000000000000000..24bcf17249b0707969abb3728a4cefdd85fc5067 --- /dev/null +++ b/controllers/gpt_enginner20240701182358 @@ -0,0 +1 @@ +Subproject commit 24bcf17249b0707969abb3728a4cefdd85fc5067 diff --git a/controllers/gpt_enginner20240701182631 b/controllers/gpt_enginner20240701182631 new file mode 160000 index 0000000000000000000000000000000000000000..bcd1fd85e6b5db2e85d68c9ec8cb5ec6f002e46a --- /dev/null +++ b/controllers/gpt_enginner20240701182631 @@ -0,0 +1 @@ +Subproject commit bcd1fd85e6b5db2e85d68c9ec8cb5ec6f002e46a diff --git a/controllers/gpt_enginner20240701183641 b/controllers/gpt_enginner20240701183641 new file mode 160000 index 0000000000000000000000000000000000000000..ff376c73bcbdd9c81ca0c735bfe3f03449500868 --- /dev/null +++ b/controllers/gpt_enginner20240701183641 @@ -0,0 +1 @@ +Subproject commit ff376c73bcbdd9c81ca0c735bfe3f03449500868 diff --git a/controllers/gpt_enginner20240701184825 b/controllers/gpt_enginner20240701184825 new file mode 160000 index 0000000000000000000000000000000000000000..4503a3f1e821bbf9196f9404de56a70fd31e9071 --- /dev/null +++ b/controllers/gpt_enginner20240701184825 @@ -0,0 +1 @@ +Subproject commit 4503a3f1e821bbf9196f9404de56a70fd31e9071 diff --git a/controllers/gpt_enginner20240701185142 b/controllers/gpt_enginner20240701185142 new file mode 160000 index 0000000000000000000000000000000000000000..ea725766b73c40c7f1a3fd23c7eebe83dcbb793b --- /dev/null +++ b/controllers/gpt_enginner20240701185142 @@ -0,0 +1 @@ +Subproject commit ea725766b73c40c7f1a3fd23c7eebe83dcbb793b diff --git a/controllers/gpt_enginner20240701185253 b/controllers/gpt_enginner20240701185253 new file mode 160000 index 0000000000000000000000000000000000000000..5d791392e7a22ef94675d632b5404057f0881bdf --- /dev/null +++ b/controllers/gpt_enginner20240701185253 @@ -0,0 +1 @@ +Subproject commit 5d791392e7a22ef94675d632b5404057f0881bdf diff --git a/controllers/gpt_enginner20240701190541 b/controllers/gpt_enginner20240701190541 new file mode 160000 index 0000000000000000000000000000000000000000..4dc02f997e1c5765a5ce0df1a7e2ff46e18cf86c --- /dev/null +++ b/controllers/gpt_enginner20240701190541 @@ -0,0 +1 @@ +Subproject commit 4dc02f997e1c5765a5ce0df1a7e2ff46e18cf86c diff --git a/controllers/gpt_enginner20240701191806 b/controllers/gpt_enginner20240701191806 new file mode 160000 index 0000000000000000000000000000000000000000..d60f9c4e68a811b8b8a7433fe35ed9391df0ca91 --- /dev/null +++ b/controllers/gpt_enginner20240701191806 @@ -0,0 +1 @@ +Subproject commit d60f9c4e68a811b8b8a7433fe35ed9391df0ca91 diff --git a/controllers/gpt_enginner20240701191857 b/controllers/gpt_enginner20240701191857 new file mode 160000 index 0000000000000000000000000000000000000000..e1d65dbc49751cb33d87dcb067073b6af9e50241 --- /dev/null +++ b/controllers/gpt_enginner20240701191857 @@ -0,0 +1 @@ +Subproject commit e1d65dbc49751cb33d87dcb067073b6af9e50241 diff --git a/controllers/gpt_enginner20240701192104 b/controllers/gpt_enginner20240701192104 new file mode 160000 index 0000000000000000000000000000000000000000..ee9f48dff39512f9817f072551842d5da805b0b6 --- /dev/null +++ b/controllers/gpt_enginner20240701192104 @@ -0,0 +1 @@ +Subproject commit ee9f48dff39512f9817f072551842d5da805b0b6 diff --git a/controllers/gpt_enginner20240701193333 b/controllers/gpt_enginner20240701193333 new file mode 160000 index 0000000000000000000000000000000000000000..c393a890f4d5f79ca9bd9eaf189b677279c09626 --- /dev/null +++ b/controllers/gpt_enginner20240701193333 @@ -0,0 +1 @@ +Subproject commit c393a890f4d5f79ca9bd9eaf189b677279c09626 diff --git a/controllers/gpt_enginner20240702025514 b/controllers/gpt_enginner20240702025514 new file mode 160000 index 0000000000000000000000000000000000000000..f09a70c0cfff05da05b1bfd22ba4b1d8045d6a99 --- /dev/null +++ b/controllers/gpt_enginner20240702025514 @@ -0,0 +1 @@ +Subproject commit f09a70c0cfff05da05b1bfd22ba4b1d8045d6a99 diff --git a/controllers/gpt_enginner20240702025813 b/controllers/gpt_enginner20240702025813 new file mode 160000 index 0000000000000000000000000000000000000000..97d7fbb2f7964e007b08a4ff67e3cedfa5fa0ad4 --- /dev/null +++ b/controllers/gpt_enginner20240702025813 @@ -0,0 +1 @@ +Subproject commit 97d7fbb2f7964e007b08a4ff67e3cedfa5fa0ad4 diff --git a/controllers/gpt_enginner20240702025911 b/controllers/gpt_enginner20240702025911 new file mode 160000 index 0000000000000000000000000000000000000000..da076423f9fa9db0cb13f9903a30741ff7329970 --- /dev/null +++ b/controllers/gpt_enginner20240702025911 @@ -0,0 +1 @@ +Subproject commit da076423f9fa9db0cb13f9903a30741ff7329970 diff --git a/controllers/gpt_enginner20240702031451 b/controllers/gpt_enginner20240702031451 new file mode 160000 index 0000000000000000000000000000000000000000..b3586e26b7cf8a77dff28a4c350eb74d0ad98461 --- /dev/null +++ b/controllers/gpt_enginner20240702031451 @@ -0,0 +1 @@ +Subproject commit b3586e26b7cf8a77dff28a4c350eb74d0ad98461 diff --git a/controllers/gpt_enginner20240702032404 b/controllers/gpt_enginner20240702032404 new file mode 160000 index 0000000000000000000000000000000000000000..356f467035b018b6a29ba5067aaeaf7c829f8097 --- /dev/null +++ b/controllers/gpt_enginner20240702032404 @@ -0,0 +1 @@ +Subproject commit 356f467035b018b6a29ba5067aaeaf7c829f8097 diff --git a/controllers/gpt_enginner20240702033021 b/controllers/gpt_enginner20240702033021 new file mode 160000 index 0000000000000000000000000000000000000000..a6eff01d2fb149334cdffe94670dc89ca010f14e --- /dev/null +++ b/controllers/gpt_enginner20240702033021 @@ -0,0 +1 @@ +Subproject commit a6eff01d2fb149334cdffe94670dc89ca010f14e diff --git a/controllers/gpt_enginner20240702033408 b/controllers/gpt_enginner20240702033408 new file mode 160000 index 0000000000000000000000000000000000000000..532d92002c740b2b01e70c456198419ed5a88611 --- /dev/null +++ b/controllers/gpt_enginner20240702033408 @@ -0,0 +1 @@ +Subproject commit 532d92002c740b2b01e70c456198419ed5a88611 diff --git a/controllers/gpt_enginner20240702033745 b/controllers/gpt_enginner20240702033745 new file mode 160000 index 0000000000000000000000000000000000000000..061de5449cab68a5dac4a8058a52581184abcc50 --- /dev/null +++ b/controllers/gpt_enginner20240702033745 @@ -0,0 +1 @@ +Subproject commit 061de5449cab68a5dac4a8058a52581184abcc50 diff --git a/controllers/gpt_enginner20240702034853 b/controllers/gpt_enginner20240702034853 new file mode 160000 index 0000000000000000000000000000000000000000..0d78679080108a801e2270e1ae5522495a86e3a5 --- /dev/null +++ b/controllers/gpt_enginner20240702034853 @@ -0,0 +1 @@ +Subproject commit 0d78679080108a801e2270e1ae5522495a86e3a5 diff --git a/controllers/gpt_enginner20240702035351 b/controllers/gpt_enginner20240702035351 new file mode 160000 index 0000000000000000000000000000000000000000..6d7ee440720a53319ab9d494365539b7985e4960 --- /dev/null +++ b/controllers/gpt_enginner20240702035351 @@ -0,0 +1 @@ +Subproject commit 6d7ee440720a53319ab9d494365539b7985e4960 diff --git a/controllers/gpt_enginner20240702035554 b/controllers/gpt_enginner20240702035554 new file mode 160000 index 0000000000000000000000000000000000000000..c82da3d0f2863e3e8f2e60fe39ab72459fb53187 --- /dev/null +++ b/controllers/gpt_enginner20240702035554 @@ -0,0 +1 @@ +Subproject commit c82da3d0f2863e3e8f2e60fe39ab72459fb53187 diff --git a/controllers/gpt_enginner20240702035739 b/controllers/gpt_enginner20240702035739 new file mode 160000 index 0000000000000000000000000000000000000000..023b0d2e998ece32a2a916902dab28e9e14b8da3 --- /dev/null +++ b/controllers/gpt_enginner20240702035739 @@ -0,0 +1 @@ +Subproject commit 023b0d2e998ece32a2a916902dab28e9e14b8da3 diff --git a/controllers/gpt_enginner20240702044835 b/controllers/gpt_enginner20240702044835 new file mode 160000 index 0000000000000000000000000000000000000000..3e6065dbd84514b6adbaa656c82715d84695dd80 --- /dev/null +++ b/controllers/gpt_enginner20240702044835 @@ -0,0 +1 @@ +Subproject commit 3e6065dbd84514b6adbaa656c82715d84695dd80 diff --git a/controllers/gpt_enginner20240702045320 b/controllers/gpt_enginner20240702045320 new file mode 160000 index 0000000000000000000000000000000000000000..36311fe6b381ecf780342ef92e6ebcf50f562bfc --- /dev/null +++ b/controllers/gpt_enginner20240702045320 @@ -0,0 +1 @@ +Subproject commit 36311fe6b381ecf780342ef92e6ebcf50f562bfc diff --git a/controllers/gpt_enginner20240702050139 b/controllers/gpt_enginner20240702050139 new file mode 160000 index 0000000000000000000000000000000000000000..9dc3e96b08cb8475b6c8ada47682e6940f1ea8b7 --- /dev/null +++ b/controllers/gpt_enginner20240702050139 @@ -0,0 +1 @@ +Subproject commit 9dc3e96b08cb8475b6c8ada47682e6940f1ea8b7 diff --git a/controllers/gpt_enginner20240702050342 b/controllers/gpt_enginner20240702050342 new file mode 160000 index 0000000000000000000000000000000000000000..8e38910f8eeb15ed1bca4fd6869ee9815f07a6f6 --- /dev/null +++ b/controllers/gpt_enginner20240702050342 @@ -0,0 +1 @@ +Subproject commit 8e38910f8eeb15ed1bca4fd6869ee9815f07a6f6 diff --git a/controllers/gpt_enginner20240702051059 b/controllers/gpt_enginner20240702051059 new file mode 160000 index 0000000000000000000000000000000000000000..fb7d6ba51978693b0d6e590ea957c1193b061dce --- /dev/null +++ b/controllers/gpt_enginner20240702051059 @@ -0,0 +1 @@ +Subproject commit fb7d6ba51978693b0d6e590ea957c1193b061dce diff --git a/controllers/gpt_enginner20240702051419 b/controllers/gpt_enginner20240702051419 new file mode 160000 index 0000000000000000000000000000000000000000..a19b8ee7773de7839aedffaa6b0102241e9c7f62 --- /dev/null +++ b/controllers/gpt_enginner20240702051419 @@ -0,0 +1 @@ +Subproject commit a19b8ee7773de7839aedffaa6b0102241e9c7f62 diff --git a/controllers/gpt_enginner20240702052611 b/controllers/gpt_enginner20240702052611 new file mode 160000 index 0000000000000000000000000000000000000000..77a1df6bf2de76c564a6b4caf2e5c57bba081b19 --- /dev/null +++ b/controllers/gpt_enginner20240702052611 @@ -0,0 +1 @@ +Subproject commit 77a1df6bf2de76c564a6b4caf2e5c57bba081b19 diff --git a/controllers/gpt_enginner20240702053156 b/controllers/gpt_enginner20240702053156 new file mode 160000 index 0000000000000000000000000000000000000000..92962db640be3207bb81494b7ae210dbca14fb9b --- /dev/null +++ b/controllers/gpt_enginner20240702053156 @@ -0,0 +1 @@ +Subproject commit 92962db640be3207bb81494b7ae210dbca14fb9b diff --git a/controllers/gpt_enginner20240702053453 b/controllers/gpt_enginner20240702053453 new file mode 160000 index 0000000000000000000000000000000000000000..9c366b7aa7210187b2d0d82bdef253223cde1cfe --- /dev/null +++ b/controllers/gpt_enginner20240702053453 @@ -0,0 +1 @@ +Subproject commit 9c366b7aa7210187b2d0d82bdef253223cde1cfe diff --git a/controllers/gpt_enginner20240702053641/prompt b/controllers/gpt_enginner20240702053641/prompt new file mode 100644 index 0000000000000000000000000000000000000000..b87941ee9f5e3fa4509b5ae0211041b09cf2b73b --- /dev/null +++ b/controllers/gpt_enginner20240702053641/prompt @@ -0,0 +1,60 @@ + +下記の質問に対応するコードをdjangoでアプリを作成 プロジェクトはいりません +fastapiでrouter部分を作成 組み込みはメイン部分でします +フロントエンドをgradioで作成 +#google apps script frontend + googleappsscript doGet でのgradioの表示処理を作成 google.script.runで関数は呼び出し +#google apps script backend + frontendからの呼び出し用のバックエンドスクリプト +仕様書の作成 +PlantUMLでシーケンス図の作成 +Markdownでのプログラム殺名 +#下記参考にAPIも作成しておいて +action insert list edit update でCRUDがかわる +同じようにGASのAPIも作成しておいて + +def create_vector(): + inputs = tokenizer(result, return_tensors="pt", max_length=512, truncation=True) + outputs = model(**inputs) + # [CLS]トークンの出力を取得 + embeddings = outputs.last_hidden_state[:,0,:].squeeze().detach().cpu().numpy().tolist() + print(embeddings) + import requests + + url = "https://kenken999-php.hf.space/api/v1.php" + + payload = "model_name={embeddings}&vector_text={result}&table=products&action=insert"" + headers = { + 'X-Auth-Token': 'admin', + 'Content-Type': 'application/x-www-form-urlencoded', + 'Cookie': 'runnerSession=muvclb78zpsdjbm7y9c3; pD1lszvk6ratOZhmmgvkp=13767810ebf0782b0b51bf72dedb63b3' + } + + response = requests.request("POST", url, headers=headers, data=payload) + + print(response.text) + return True + +下記の質問 作成対応内容 + +お問い合わせありがとうございます。 + +【リッチメニュー】本日の金価格については、以下のURLをご覧ください。 + +https://www.youtube.com/@refastaofficial/search?query=%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E8%B3%87%E6%96%99%E3%81%AE%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E8%B3%87%E6%96%99 + +本日の金価格について、詳しくは、以下のQ&Aをご覧ください。 + +Q: 本日の金価格は何ですか? +A: 本日の金価格は、現在の市場価格に基づいて計算されます。 + +Q: 金価格はどのように変動しますか? +A: 金価格は、世界的なgold marketの動向や為替の影響を受けて変動します。 + +Q: リファスタでの金買取価格はどう計算されますか? +A: リファスタでの金買取価格は、当日の金価格に基づいて計算されます。 + +商品検索のURLは、以下の通りです。 +https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=金価格 + +以上の情報を参考にして、金買取に関するお問い合わせは、当店の査定人にご連絡ください。 \ No newline at end of file diff --git a/controllers/gpt_enginner20240702055428 b/controllers/gpt_enginner20240702055428 new file mode 160000 index 0000000000000000000000000000000000000000..a509afb0663e03ee1e780a21e8756c3615675414 --- /dev/null +++ b/controllers/gpt_enginner20240702055428 @@ -0,0 +1 @@ +Subproject commit a509afb0663e03ee1e780a21e8756c3615675414 diff --git a/controllers/gpt_enginner20240702055646 b/controllers/gpt_enginner20240702055646 new file mode 160000 index 0000000000000000000000000000000000000000..a979a7983235561a880339dda5f13ecd279bb883 --- /dev/null +++ b/controllers/gpt_enginner20240702055646 @@ -0,0 +1 @@ +Subproject commit a979a7983235561a880339dda5f13ecd279bb883 diff --git a/controllers/gpt_enginner20240702055936 b/controllers/gpt_enginner20240702055936 new file mode 160000 index 0000000000000000000000000000000000000000..67d0a01cd20cc6c41f9ff0d7fe132473c8e67c1c --- /dev/null +++ b/controllers/gpt_enginner20240702055936 @@ -0,0 +1 @@ +Subproject commit 67d0a01cd20cc6c41f9ff0d7fe132473c8e67c1c diff --git a/controllers/gpt_enginner20240702060345 b/controllers/gpt_enginner20240702060345 new file mode 160000 index 0000000000000000000000000000000000000000..79ededc6af40f1ee60112667bd7e7e41097d82fb --- /dev/null +++ b/controllers/gpt_enginner20240702060345 @@ -0,0 +1 @@ +Subproject commit 79ededc6af40f1ee60112667bd7e7e41097d82fb diff --git a/controllers/gpt_enginner20240702060547 b/controllers/gpt_enginner20240702060547 new file mode 160000 index 0000000000000000000000000000000000000000..a4d84425ef4c4b527b81b3dfa209399cc86d92e2 --- /dev/null +++ b/controllers/gpt_enginner20240702060547 @@ -0,0 +1 @@ +Subproject commit a4d84425ef4c4b527b81b3dfa209399cc86d92e2 diff --git a/controllers/gpt_enginner20240702060819 b/controllers/gpt_enginner20240702060819 new file mode 160000 index 0000000000000000000000000000000000000000..25178ae6cf60f5f183578da0e66e462f77ea34fc --- /dev/null +++ b/controllers/gpt_enginner20240702060819 @@ -0,0 +1 @@ +Subproject commit 25178ae6cf60f5f183578da0e66e462f77ea34fc diff --git a/controllers/gpt_enginner20240702061417 b/controllers/gpt_enginner20240702061417 new file mode 160000 index 0000000000000000000000000000000000000000..332e21c9f9e6617acf70345b14c36858f09508e3 --- /dev/null +++ b/controllers/gpt_enginner20240702061417 @@ -0,0 +1 @@ +Subproject commit 332e21c9f9e6617acf70345b14c36858f09508e3 diff --git a/controllers/gpt_enginner20240702061612 b/controllers/gpt_enginner20240702061612 new file mode 160000 index 0000000000000000000000000000000000000000..23e3f812a5e4f497c3e479cefd7793c6b0161cda --- /dev/null +++ b/controllers/gpt_enginner20240702061612 @@ -0,0 +1 @@ +Subproject commit 23e3f812a5e4f497c3e479cefd7793c6b0161cda diff --git a/controllers/gpt_enginner20240702061801 b/controllers/gpt_enginner20240702061801 new file mode 160000 index 0000000000000000000000000000000000000000..e5d6fcac2f29571c69e406532987a4a8087f2e5b --- /dev/null +++ b/controllers/gpt_enginner20240702061801 @@ -0,0 +1 @@ +Subproject commit e5d6fcac2f29571c69e406532987a4a8087f2e5b diff --git a/controllers/gpt_enginner20240702062018 b/controllers/gpt_enginner20240702062018 new file mode 160000 index 0000000000000000000000000000000000000000..65d311d28c75662ff69c78e95e5e7808bbafe9bf --- /dev/null +++ b/controllers/gpt_enginner20240702062018 @@ -0,0 +1 @@ +Subproject commit 65d311d28c75662ff69c78e95e5e7808bbafe9bf diff --git a/controllers/gpt_enginner20240702062719 b/controllers/gpt_enginner20240702062719 new file mode 160000 index 0000000000000000000000000000000000000000..654d0deee0fe2942e79d97712ac251e360eb25c6 --- /dev/null +++ b/controllers/gpt_enginner20240702062719 @@ -0,0 +1 @@ +Subproject commit 654d0deee0fe2942e79d97712ac251e360eb25c6 diff --git a/controllers/gpt_enginner20240702064839 b/controllers/gpt_enginner20240702064839 new file mode 160000 index 0000000000000000000000000000000000000000..151ae7391d6abeacb1452ad29e1c99371671a8de --- /dev/null +++ b/controllers/gpt_enginner20240702064839 @@ -0,0 +1 @@ +Subproject commit 151ae7391d6abeacb1452ad29e1c99371671a8de diff --git a/controllers/gpt_enginner20240702091451 b/controllers/gpt_enginner20240702091451 new file mode 160000 index 0000000000000000000000000000000000000000..a7b5ef8d192bcc5290e98c643e18e2ae60b3c383 --- /dev/null +++ b/controllers/gpt_enginner20240702091451 @@ -0,0 +1 @@ +Subproject commit a7b5ef8d192bcc5290e98c643e18e2ae60b3c383 diff --git a/controllers/gpt_enginner20240702091655 b/controllers/gpt_enginner20240702091655 new file mode 160000 index 0000000000000000000000000000000000000000..a35167b60a849b748983880f0f823a538656904b --- /dev/null +++ b/controllers/gpt_enginner20240702091655 @@ -0,0 +1 @@ +Subproject commit a35167b60a849b748983880f0f823a538656904b diff --git a/controllers/gpt_enginner20240702091753 b/controllers/gpt_enginner20240702091753 new file mode 160000 index 0000000000000000000000000000000000000000..1462b84590f6bc6fe1122148adb87db34c41f2b4 --- /dev/null +++ b/controllers/gpt_enginner20240702091753 @@ -0,0 +1 @@ +Subproject commit 1462b84590f6bc6fe1122148adb87db34c41f2b4 diff --git a/controllers/gpt_enginner20240702130719 b/controllers/gpt_enginner20240702130719 new file mode 160000 index 0000000000000000000000000000000000000000..b128cfdc0611f2d7c338eba27ae16eac94bd0082 --- /dev/null +++ b/controllers/gpt_enginner20240702130719 @@ -0,0 +1 @@ +Subproject commit b128cfdc0611f2d7c338eba27ae16eac94bd0082 diff --git a/controllers/gpt_enginner20240702131030 b/controllers/gpt_enginner20240702131030 new file mode 160000 index 0000000000000000000000000000000000000000..5ae311f360f997ea5f08d9d19f707014ba0be921 --- /dev/null +++ b/controllers/gpt_enginner20240702131030 @@ -0,0 +1 @@ +Subproject commit 5ae311f360f997ea5f08d9d19f707014ba0be921 diff --git a/controllers/gpt_enginner20240702131205 b/controllers/gpt_enginner20240702131205 new file mode 160000 index 0000000000000000000000000000000000000000..39fb41f4b176d3dde7c652829ee9c41ba3e1b2b5 --- /dev/null +++ b/controllers/gpt_enginner20240702131205 @@ -0,0 +1 @@ +Subproject commit 39fb41f4b176d3dde7c652829ee9c41ba3e1b2b5 diff --git a/controllers/gpt_enginner20240702131340 b/controllers/gpt_enginner20240702131340 new file mode 160000 index 0000000000000000000000000000000000000000..45e931207225ca94e6c2cac7163b47a0733a421a --- /dev/null +++ b/controllers/gpt_enginner20240702131340 @@ -0,0 +1 @@ +Subproject commit 45e931207225ca94e6c2cac7163b47a0733a421a diff --git a/controllers/gpt_enginner20240702145919 b/controllers/gpt_enginner20240702145919 new file mode 160000 index 0000000000000000000000000000000000000000..c2b80b5a9a576b8e0b1df04bbc964c54742bebe1 --- /dev/null +++ b/controllers/gpt_enginner20240702145919 @@ -0,0 +1 @@ +Subproject commit c2b80b5a9a576b8e0b1df04bbc964c54742bebe1 diff --git a/controllers/gpt_enginner20240703010233 b/controllers/gpt_enginner20240703010233 new file mode 160000 index 0000000000000000000000000000000000000000..016c84e6e9cd8327cd54e996a5b0af2a80460d15 --- /dev/null +++ b/controllers/gpt_enginner20240703010233 @@ -0,0 +1 @@ +Subproject commit 016c84e6e9cd8327cd54e996a5b0af2a80460d15 diff --git a/controllers/gpt_enginner20240703010848 b/controllers/gpt_enginner20240703010848 new file mode 160000 index 0000000000000000000000000000000000000000..016b8862c606baf66f87ab7a5eb27166154abc95 --- /dev/null +++ b/controllers/gpt_enginner20240703010848 @@ -0,0 +1 @@ +Subproject commit 016b8862c606baf66f87ab7a5eb27166154abc95 diff --git a/controllers/gpt_enginner20240703010934 b/controllers/gpt_enginner20240703010934 new file mode 160000 index 0000000000000000000000000000000000000000..06a6a275b53585c48423cf291a4218be5bca82f5 --- /dev/null +++ b/controllers/gpt_enginner20240703010934 @@ -0,0 +1 @@ +Subproject commit 06a6a275b53585c48423cf291a4218be5bca82f5 diff --git a/controllers/gpt_enginner20240703011104 b/controllers/gpt_enginner20240703011104 new file mode 160000 index 0000000000000000000000000000000000000000..eb269c8cd87b0fe2e17b5ca58774b1e1f8918222 --- /dev/null +++ b/controllers/gpt_enginner20240703011104 @@ -0,0 +1 @@ +Subproject commit eb269c8cd87b0fe2e17b5ca58774b1e1f8918222 diff --git a/controllers/gpt_enginner20240703012120 b/controllers/gpt_enginner20240703012120 new file mode 160000 index 0000000000000000000000000000000000000000..e174449766147ed42a7524f6ae038bc161d771a0 --- /dev/null +++ b/controllers/gpt_enginner20240703012120 @@ -0,0 +1 @@ +Subproject commit e174449766147ed42a7524f6ae038bc161d771a0 diff --git a/controllers/gpt_enginner20240703012728 b/controllers/gpt_enginner20240703012728 new file mode 160000 index 0000000000000000000000000000000000000000..e4a174c393507ddb843f721922398d251ee8db0b --- /dev/null +++ b/controllers/gpt_enginner20240703012728 @@ -0,0 +1 @@ +Subproject commit e4a174c393507ddb843f721922398d251ee8db0b diff --git a/controllers/gpt_enginner20240703013133 b/controllers/gpt_enginner20240703013133 new file mode 160000 index 0000000000000000000000000000000000000000..67eb7217f4d6641557bace601ccf32f68e7ee957 --- /dev/null +++ b/controllers/gpt_enginner20240703013133 @@ -0,0 +1 @@ +Subproject commit 67eb7217f4d6641557bace601ccf32f68e7ee957 diff --git a/controllers/gpt_enginner20240703013707 b/controllers/gpt_enginner20240703013707 new file mode 160000 index 0000000000000000000000000000000000000000..61813afbd2a55cc84fa4954f900825fdc8a3e719 --- /dev/null +++ b/controllers/gpt_enginner20240703013707 @@ -0,0 +1 @@ +Subproject commit 61813afbd2a55cc84fa4954f900825fdc8a3e719 diff --git a/controllers/gpt_enginner20240703013805 b/controllers/gpt_enginner20240703013805 new file mode 160000 index 0000000000000000000000000000000000000000..d6a3d4a53a713fe53a160a15d225724a3df4456a --- /dev/null +++ b/controllers/gpt_enginner20240703013805 @@ -0,0 +1 @@ +Subproject commit d6a3d4a53a713fe53a160a15d225724a3df4456a diff --git a/controllers/gpt_enginner20240703015214 b/controllers/gpt_enginner20240703015214 new file mode 160000 index 0000000000000000000000000000000000000000..eb74d744d06ed27186b4f6667edf21c3e9084775 --- /dev/null +++ b/controllers/gpt_enginner20240703015214 @@ -0,0 +1 @@ +Subproject commit eb74d744d06ed27186b4f6667edf21c3e9084775 diff --git a/controllers/gpt_enginner20240703015246 b/controllers/gpt_enginner20240703015246 new file mode 160000 index 0000000000000000000000000000000000000000..96ac65010e977a5de6613e3c3794b66656e2ae2c --- /dev/null +++ b/controllers/gpt_enginner20240703015246 @@ -0,0 +1 @@ +Subproject commit 96ac65010e977a5de6613e3c3794b66656e2ae2c diff --git a/controllers/gpt_enginner20240703015949 b/controllers/gpt_enginner20240703015949 new file mode 160000 index 0000000000000000000000000000000000000000..906389951ead208b1baaea1e2404bb95f2223d90 --- /dev/null +++ b/controllers/gpt_enginner20240703015949 @@ -0,0 +1 @@ +Subproject commit 906389951ead208b1baaea1e2404bb95f2223d90 diff --git a/controllers/gpt_enginner20240703020028 b/controllers/gpt_enginner20240703020028 new file mode 160000 index 0000000000000000000000000000000000000000..9e533899ec8276260881f039c671463b40f24448 --- /dev/null +++ b/controllers/gpt_enginner20240703020028 @@ -0,0 +1 @@ +Subproject commit 9e533899ec8276260881f039c671463b40f24448 diff --git a/controllers/gpt_enginner20240703020819 b/controllers/gpt_enginner20240703020819 new file mode 160000 index 0000000000000000000000000000000000000000..506af262300dfbe2a58ae760ea508c96b5c203bf --- /dev/null +++ b/controllers/gpt_enginner20240703020819 @@ -0,0 +1 @@ +Subproject commit 506af262300dfbe2a58ae760ea508c96b5c203bf diff --git a/controllers/gpt_enginner20240703021018 b/controllers/gpt_enginner20240703021018 new file mode 160000 index 0000000000000000000000000000000000000000..e4eff75178731e3b7439e3a2da0015da645d9fa8 --- /dev/null +++ b/controllers/gpt_enginner20240703021018 @@ -0,0 +1 @@ +Subproject commit e4eff75178731e3b7439e3a2da0015da645d9fa8 diff --git a/controllers/gpt_enginner20240703021223 b/controllers/gpt_enginner20240703021223 new file mode 160000 index 0000000000000000000000000000000000000000..1e5c9fb64167d2dc11f7ca0989f8695fdce14739 --- /dev/null +++ b/controllers/gpt_enginner20240703021223 @@ -0,0 +1 @@ +Subproject commit 1e5c9fb64167d2dc11f7ca0989f8695fdce14739 diff --git a/controllers/gpt_enginner20240703045314 b/controllers/gpt_enginner20240703045314 new file mode 160000 index 0000000000000000000000000000000000000000..5d2f712e69250e6d382efdd8a43a2868307aa459 --- /dev/null +++ b/controllers/gpt_enginner20240703045314 @@ -0,0 +1 @@ +Subproject commit 5d2f712e69250e6d382efdd8a43a2868307aa459 diff --git a/controllers/gpt_enginner20240703045846 b/controllers/gpt_enginner20240703045846 new file mode 160000 index 0000000000000000000000000000000000000000..87747d1274bf39866b45fc5d6c1ceabce3f7b400 --- /dev/null +++ b/controllers/gpt_enginner20240703045846 @@ -0,0 +1 @@ +Subproject commit 87747d1274bf39866b45fc5d6c1ceabce3f7b400 diff --git a/controllers/gpt_enginner20240703050301 b/controllers/gpt_enginner20240703050301 new file mode 160000 index 0000000000000000000000000000000000000000..38441d0833fee117c445bee4ef815ed9ecb6a33a --- /dev/null +++ b/controllers/gpt_enginner20240703050301 @@ -0,0 +1 @@ +Subproject commit 38441d0833fee117c445bee4ef815ed9ecb6a33a diff --git a/controllers/gpt_enginner20240703050621 b/controllers/gpt_enginner20240703050621 new file mode 160000 index 0000000000000000000000000000000000000000..0b913379c3aa07eb3d85bc24e5ab068353289382 --- /dev/null +++ b/controllers/gpt_enginner20240703050621 @@ -0,0 +1 @@ +Subproject commit 0b913379c3aa07eb3d85bc24e5ab068353289382 diff --git a/controllers/gpt_enginner20240703051706 b/controllers/gpt_enginner20240703051706 new file mode 160000 index 0000000000000000000000000000000000000000..52dc6159d9a30327a2649fcdcc3735129e2663b6 --- /dev/null +++ b/controllers/gpt_enginner20240703051706 @@ -0,0 +1 @@ +Subproject commit 52dc6159d9a30327a2649fcdcc3735129e2663b6 diff --git a/controllers/gpt_enginner20240703051841 b/controllers/gpt_enginner20240703051841 new file mode 160000 index 0000000000000000000000000000000000000000..6d03cd472a1edab0d7e8a83f17b93d7d764fbaf0 --- /dev/null +++ b/controllers/gpt_enginner20240703051841 @@ -0,0 +1 @@ +Subproject commit 6d03cd472a1edab0d7e8a83f17b93d7d764fbaf0 diff --git a/controllers/gpt_enginner20240703052442 b/controllers/gpt_enginner20240703052442 new file mode 160000 index 0000000000000000000000000000000000000000..4ff1d93db5acf0b57b48f5b60caf37295f7b364a --- /dev/null +++ b/controllers/gpt_enginner20240703052442 @@ -0,0 +1 @@ +Subproject commit 4ff1d93db5acf0b57b48f5b60caf37295f7b364a diff --git a/controllers/gpt_enginner20240703052638 b/controllers/gpt_enginner20240703052638 new file mode 160000 index 0000000000000000000000000000000000000000..96de2640bd891509bb66356b00e22198470ed840 --- /dev/null +++ b/controllers/gpt_enginner20240703052638 @@ -0,0 +1 @@ +Subproject commit 96de2640bd891509bb66356b00e22198470ed840 diff --git a/controllers/gpt_enginner20240703071514 b/controllers/gpt_enginner20240703071514 new file mode 160000 index 0000000000000000000000000000000000000000..2bf73dc1bb09a53a79a06763b293fcfef66eb876 --- /dev/null +++ b/controllers/gpt_enginner20240703071514 @@ -0,0 +1 @@ +Subproject commit 2bf73dc1bb09a53a79a06763b293fcfef66eb876 diff --git a/controllers/gpt_enginner20240704011104 b/controllers/gpt_enginner20240704011104 new file mode 160000 index 0000000000000000000000000000000000000000..b0124f8a93dcce51de926c0a594164de3e7a5ffb --- /dev/null +++ b/controllers/gpt_enginner20240704011104 @@ -0,0 +1 @@ +Subproject commit b0124f8a93dcce51de926c0a594164de3e7a5ffb diff --git a/controllers/gpt_enginner20240704011235 b/controllers/gpt_enginner20240704011235 new file mode 160000 index 0000000000000000000000000000000000000000..ba8b669b38e4f9be3f98a279b6efb0d192951174 --- /dev/null +++ b/controllers/gpt_enginner20240704011235 @@ -0,0 +1 @@ +Subproject commit ba8b669b38e4f9be3f98a279b6efb0d192951174 diff --git a/controllers/gpt_enginner20240704011528 b/controllers/gpt_enginner20240704011528 new file mode 160000 index 0000000000000000000000000000000000000000..98cae1c8f85c9ed3c1c1c7f3cac9c51544af6e48 --- /dev/null +++ b/controllers/gpt_enginner20240704011528 @@ -0,0 +1 @@ +Subproject commit 98cae1c8f85c9ed3c1c1c7f3cac9c51544af6e48 diff --git a/controllers/gpt_enginner20240704011945 b/controllers/gpt_enginner20240704011945 new file mode 160000 index 0000000000000000000000000000000000000000..50746657449d872518f4f81a85cbd9e7c0e5406d --- /dev/null +++ b/controllers/gpt_enginner20240704011945 @@ -0,0 +1 @@ +Subproject commit 50746657449d872518f4f81a85cbd9e7c0e5406d diff --git a/controllers/gpt_enginner20240704012014 b/controllers/gpt_enginner20240704012014 new file mode 160000 index 0000000000000000000000000000000000000000..4fe3224501e2ca6674258b5cc08459b45e964793 --- /dev/null +++ b/controllers/gpt_enginner20240704012014 @@ -0,0 +1 @@ +Subproject commit 4fe3224501e2ca6674258b5cc08459b45e964793 diff --git a/controllers/gpt_enginner20240704012458 b/controllers/gpt_enginner20240704012458 new file mode 160000 index 0000000000000000000000000000000000000000..105a7eb5f2b02855cd1ad752ead297010509f48f --- /dev/null +++ b/controllers/gpt_enginner20240704012458 @@ -0,0 +1 @@ +Subproject commit 105a7eb5f2b02855cd1ad752ead297010509f48f diff --git a/controllers/gpt_enginner20240704012902 b/controllers/gpt_enginner20240704012902 new file mode 160000 index 0000000000000000000000000000000000000000..66a727d8589f45179c8686d9aa0dfc033ba9ef14 --- /dev/null +++ b/controllers/gpt_enginner20240704012902 @@ -0,0 +1 @@ +Subproject commit 66a727d8589f45179c8686d9aa0dfc033ba9ef14 diff --git a/controllers/gpt_enginner20240704013151 b/controllers/gpt_enginner20240704013151 new file mode 160000 index 0000000000000000000000000000000000000000..887978ece2c9a08ff2a146eed201fed8c0dc9c61 --- /dev/null +++ b/controllers/gpt_enginner20240704013151 @@ -0,0 +1 @@ +Subproject commit 887978ece2c9a08ff2a146eed201fed8c0dc9c61 diff --git a/controllers/gpt_enginner20240704014418 b/controllers/gpt_enginner20240704014418 new file mode 160000 index 0000000000000000000000000000000000000000..2ed7cb38f0f682ef807ba1d718c697602f00f064 --- /dev/null +++ b/controllers/gpt_enginner20240704014418 @@ -0,0 +1 @@ +Subproject commit 2ed7cb38f0f682ef807ba1d718c697602f00f064 diff --git a/controllers/gpt_enginner20240704014501 b/controllers/gpt_enginner20240704014501 new file mode 160000 index 0000000000000000000000000000000000000000..0bddccee22099eacbbca3463b925f6cf337baee9 --- /dev/null +++ b/controllers/gpt_enginner20240704014501 @@ -0,0 +1 @@ +Subproject commit 0bddccee22099eacbbca3463b925f6cf337baee9 diff --git a/controllers/gpt_enginner20240704014551 b/controllers/gpt_enginner20240704014551 new file mode 160000 index 0000000000000000000000000000000000000000..3087576bb365936bb3e11954da11ee6af94c6e56 --- /dev/null +++ b/controllers/gpt_enginner20240704014551 @@ -0,0 +1 @@ +Subproject commit 3087576bb365936bb3e11954da11ee6af94c6e56 diff --git a/controllers/gpt_enginner20240704020103 b/controllers/gpt_enginner20240704020103 new file mode 160000 index 0000000000000000000000000000000000000000..b1d8d8d250fbbe82cbd292c2a2fc57fa7d8e9cf6 --- /dev/null +++ b/controllers/gpt_enginner20240704020103 @@ -0,0 +1 @@ +Subproject commit b1d8d8d250fbbe82cbd292c2a2fc57fa7d8e9cf6 diff --git a/controllers/gpt_enginner20240704020751 b/controllers/gpt_enginner20240704020751 new file mode 160000 index 0000000000000000000000000000000000000000..3ee8d45b05635b026411103989cbe5a2f611989b --- /dev/null +++ b/controllers/gpt_enginner20240704020751 @@ -0,0 +1 @@ +Subproject commit 3ee8d45b05635b026411103989cbe5a2f611989b diff --git a/controllers/gpt_enginner20240704021513 b/controllers/gpt_enginner20240704021513 new file mode 160000 index 0000000000000000000000000000000000000000..8d596bd9aee9dc601d9bf02741a3cd3809b3a806 --- /dev/null +++ b/controllers/gpt_enginner20240704021513 @@ -0,0 +1 @@ +Subproject commit 8d596bd9aee9dc601d9bf02741a3cd3809b3a806 diff --git a/controllers/gpt_enginner20240704022017 b/controllers/gpt_enginner20240704022017 new file mode 160000 index 0000000000000000000000000000000000000000..c0df6d948f3d28fbcbfe44c9cf62ca7e7b6befb5 --- /dev/null +++ b/controllers/gpt_enginner20240704022017 @@ -0,0 +1 @@ +Subproject commit c0df6d948f3d28fbcbfe44c9cf62ca7e7b6befb5 diff --git a/controllers/gpt_enginner20240704045601 b/controllers/gpt_enginner20240704045601 new file mode 160000 index 0000000000000000000000000000000000000000..ce1d4de1302e78e14abeaded1f71af35620c5eb9 --- /dev/null +++ b/controllers/gpt_enginner20240704045601 @@ -0,0 +1 @@ +Subproject commit ce1d4de1302e78e14abeaded1f71af35620c5eb9 diff --git a/controllers/gpt_enginner20240704050606 b/controllers/gpt_enginner20240704050606 new file mode 160000 index 0000000000000000000000000000000000000000..239dc22e4b4f280a1163ebfb4c2a2d29c871a16b --- /dev/null +++ b/controllers/gpt_enginner20240704050606 @@ -0,0 +1 @@ +Subproject commit 239dc22e4b4f280a1163ebfb4c2a2d29c871a16b diff --git a/controllers/gpt_enginner20240704050957 b/controllers/gpt_enginner20240704050957 new file mode 160000 index 0000000000000000000000000000000000000000..fbcb884305a5be55d7dd5d83a9b0bcdc5a111e1c --- /dev/null +++ b/controllers/gpt_enginner20240704050957 @@ -0,0 +1 @@ +Subproject commit fbcb884305a5be55d7dd5d83a9b0bcdc5a111e1c diff --git a/controllers/gpt_enginner20240704051344 b/controllers/gpt_enginner20240704051344 new file mode 160000 index 0000000000000000000000000000000000000000..37c343ee08d59847619d7f674449f96470a9818e --- /dev/null +++ b/controllers/gpt_enginner20240704051344 @@ -0,0 +1 @@ +Subproject commit 37c343ee08d59847619d7f674449f96470a9818e diff --git a/controllers/gpt_enginner20240704051612 b/controllers/gpt_enginner20240704051612 new file mode 160000 index 0000000000000000000000000000000000000000..67a5b578db89175937aef202694696211e7d2d2b --- /dev/null +++ b/controllers/gpt_enginner20240704051612 @@ -0,0 +1 @@ +Subproject commit 67a5b578db89175937aef202694696211e7d2d2b diff --git a/controllers/gpt_enginner20240704052301 b/controllers/gpt_enginner20240704052301 new file mode 160000 index 0000000000000000000000000000000000000000..1a94dd244314693af24e8dd4913e03605f0f8f35 --- /dev/null +++ b/controllers/gpt_enginner20240704052301 @@ -0,0 +1 @@ +Subproject commit 1a94dd244314693af24e8dd4913e03605f0f8f35 diff --git a/controllers/gpt_enginner20240704052435 b/controllers/gpt_enginner20240704052435 new file mode 160000 index 0000000000000000000000000000000000000000..59db33e3b84b709fb6814d2c5b75cd2e1122b6ac --- /dev/null +++ b/controllers/gpt_enginner20240704052435 @@ -0,0 +1 @@ +Subproject commit 59db33e3b84b709fb6814d2c5b75cd2e1122b6ac diff --git a/controllers/gpt_enginner20240704053442 b/controllers/gpt_enginner20240704053442 new file mode 160000 index 0000000000000000000000000000000000000000..78f5fb34e542e415344c57909d7fd8e25e632aef --- /dev/null +++ b/controllers/gpt_enginner20240704053442 @@ -0,0 +1 @@ +Subproject commit 78f5fb34e542e415344c57909d7fd8e25e632aef diff --git a/controllers/gpt_enginner20240704053653 b/controllers/gpt_enginner20240704053653 new file mode 160000 index 0000000000000000000000000000000000000000..6ff3c6eb8a5262828132963d30cdf55f16dbbf02 --- /dev/null +++ b/controllers/gpt_enginner20240704053653 @@ -0,0 +1 @@ +Subproject commit 6ff3c6eb8a5262828132963d30cdf55f16dbbf02 diff --git a/controllers/gpt_enginner20240704055442 b/controllers/gpt_enginner20240704055442 new file mode 160000 index 0000000000000000000000000000000000000000..e7fcd866aca0fbf5e097f94e6f0367eb151a0b85 --- /dev/null +++ b/controllers/gpt_enginner20240704055442 @@ -0,0 +1 @@ +Subproject commit e7fcd866aca0fbf5e097f94e6f0367eb151a0b85 diff --git a/controllers/gpt_enginner20240704055527 b/controllers/gpt_enginner20240704055527 new file mode 160000 index 0000000000000000000000000000000000000000..ce7d9bdec8d59db1bc477fd106ce3169276519f2 --- /dev/null +++ b/controllers/gpt_enginner20240704055527 @@ -0,0 +1 @@ +Subproject commit ce7d9bdec8d59db1bc477fd106ce3169276519f2 diff --git a/controllers/gpt_enginner20240704055559 b/controllers/gpt_enginner20240704055559 new file mode 160000 index 0000000000000000000000000000000000000000..ffe64d62a27fd7bb1333fd5b2be4f0de932d4890 --- /dev/null +++ b/controllers/gpt_enginner20240704055559 @@ -0,0 +1 @@ +Subproject commit ffe64d62a27fd7bb1333fd5b2be4f0de932d4890 diff --git a/controllers/gpt_enginner20240704055712 b/controllers/gpt_enginner20240704055712 new file mode 160000 index 0000000000000000000000000000000000000000..e1c2c470498e646a6bfdd536196d9c8351df8b01 --- /dev/null +++ b/controllers/gpt_enginner20240704055712 @@ -0,0 +1 @@ +Subproject commit e1c2c470498e646a6bfdd536196d9c8351df8b01 diff --git a/controllers/gpt_enginner20240704055817 b/controllers/gpt_enginner20240704055817 new file mode 160000 index 0000000000000000000000000000000000000000..303891617dc25e573745cbb86d33c6b6da4098f3 --- /dev/null +++ b/controllers/gpt_enginner20240704055817 @@ -0,0 +1 @@ +Subproject commit 303891617dc25e573745cbb86d33c6b6da4098f3 diff --git a/controllers/gpt_enginner20240704060253 b/controllers/gpt_enginner20240704060253 new file mode 160000 index 0000000000000000000000000000000000000000..edff18d5b0d569b052a7213947c6fae23e52e69f --- /dev/null +++ b/controllers/gpt_enginner20240704060253 @@ -0,0 +1 @@ +Subproject commit edff18d5b0d569b052a7213947c6fae23e52e69f diff --git a/controllers/gpt_enginner20240704060355 b/controllers/gpt_enginner20240704060355 new file mode 160000 index 0000000000000000000000000000000000000000..fb6476f79a7a8afdcf5a1a293d5e604fd257d406 --- /dev/null +++ b/controllers/gpt_enginner20240704060355 @@ -0,0 +1 @@ +Subproject commit fb6476f79a7a8afdcf5a1a293d5e604fd257d406 diff --git a/controllers/gpt_enginner20240704061655 b/controllers/gpt_enginner20240704061655 new file mode 160000 index 0000000000000000000000000000000000000000..4f343079201fe1ee90f11614318beafe4a5cdb01 --- /dev/null +++ b/controllers/gpt_enginner20240704061655 @@ -0,0 +1 @@ +Subproject commit 4f343079201fe1ee90f11614318beafe4a5cdb01 diff --git a/controllers/gpt_enginner20240704061747 b/controllers/gpt_enginner20240704061747 new file mode 160000 index 0000000000000000000000000000000000000000..bcf34b286697a58a81cd77656dc456d269a156a5 --- /dev/null +++ b/controllers/gpt_enginner20240704061747 @@ -0,0 +1 @@ +Subproject commit bcf34b286697a58a81cd77656dc456d269a156a5 diff --git a/controllers/gpt_enginner20240704061846 b/controllers/gpt_enginner20240704061846 new file mode 160000 index 0000000000000000000000000000000000000000..19a19d8f2ec3ad3669a3de84ea1accc1858b1d2d --- /dev/null +++ b/controllers/gpt_enginner20240704061846 @@ -0,0 +1 @@ +Subproject commit 19a19d8f2ec3ad3669a3de84ea1accc1858b1d2d diff --git a/controllers/gpt_enginner20240704062140 b/controllers/gpt_enginner20240704062140 new file mode 160000 index 0000000000000000000000000000000000000000..529a115945f267ecdde6729f31a690dc9098757d --- /dev/null +++ b/controllers/gpt_enginner20240704062140 @@ -0,0 +1 @@ +Subproject commit 529a115945f267ecdde6729f31a690dc9098757d diff --git a/controllers/gpt_enginner20240704062206 b/controllers/gpt_enginner20240704062206 new file mode 160000 index 0000000000000000000000000000000000000000..b5ddf6afdda935b0263bad854aceb767f5b2e74a --- /dev/null +++ b/controllers/gpt_enginner20240704062206 @@ -0,0 +1 @@ +Subproject commit b5ddf6afdda935b0263bad854aceb767f5b2e74a diff --git a/controllers/gpt_enginner20240704062240 b/controllers/gpt_enginner20240704062240 new file mode 160000 index 0000000000000000000000000000000000000000..5034079f18145ca634feaef38525947a9c131464 --- /dev/null +++ b/controllers/gpt_enginner20240704062240 @@ -0,0 +1 @@ +Subproject commit 5034079f18145ca634feaef38525947a9c131464 diff --git a/controllers/gpt_enginner20240704062446 b/controllers/gpt_enginner20240704062446 new file mode 160000 index 0000000000000000000000000000000000000000..594697e9e85e2a4717d3f9b33c21e08ef632460f --- /dev/null +++ b/controllers/gpt_enginner20240704062446 @@ -0,0 +1 @@ +Subproject commit 594697e9e85e2a4717d3f9b33c21e08ef632460f diff --git a/controllers/gpt_enginner20240704062955 b/controllers/gpt_enginner20240704062955 new file mode 160000 index 0000000000000000000000000000000000000000..bd1e5614b0a5beeeb324b8631d556788de3a5ddb --- /dev/null +++ b/controllers/gpt_enginner20240704062955 @@ -0,0 +1 @@ +Subproject commit bd1e5614b0a5beeeb324b8631d556788de3a5ddb diff --git a/controllers/gpt_enginner20240704063611 b/controllers/gpt_enginner20240704063611 new file mode 160000 index 0000000000000000000000000000000000000000..508689f0c93ff38b0717cf80a10863436dffd37c --- /dev/null +++ b/controllers/gpt_enginner20240704063611 @@ -0,0 +1 @@ +Subproject commit 508689f0c93ff38b0717cf80a10863436dffd37c diff --git a/controllers/gpt_enginner20240704063828 b/controllers/gpt_enginner20240704063828 new file mode 160000 index 0000000000000000000000000000000000000000..2f4f13ee35462792da2d32050c94ab4ea75d72e6 --- /dev/null +++ b/controllers/gpt_enginner20240704063828 @@ -0,0 +1 @@ +Subproject commit 2f4f13ee35462792da2d32050c94ab4ea75d72e6 diff --git a/controllers/gpt_enginner20240706043907 b/controllers/gpt_enginner20240706043907 new file mode 160000 index 0000000000000000000000000000000000000000..4f3c1c3e00115cccde293055b800d3143a134689 --- /dev/null +++ b/controllers/gpt_enginner20240706043907 @@ -0,0 +1 @@ +Subproject commit 4f3c1c3e00115cccde293055b800d3143a134689 diff --git a/controllers/gpt_enginner20240706044048 b/controllers/gpt_enginner20240706044048 new file mode 160000 index 0000000000000000000000000000000000000000..73790a5e98edfdfa6a554e913f9ec74557510206 --- /dev/null +++ b/controllers/gpt_enginner20240706044048 @@ -0,0 +1 @@ +Subproject commit 73790a5e98edfdfa6a554e913f9ec74557510206 diff --git a/controllers/gpt_enginner20240706044149 b/controllers/gpt_enginner20240706044149 new file mode 160000 index 0000000000000000000000000000000000000000..047e36dd4da6794ca09a8980393bce0994fbc42b --- /dev/null +++ b/controllers/gpt_enginner20240706044149 @@ -0,0 +1 @@ +Subproject commit 047e36dd4da6794ca09a8980393bce0994fbc42b diff --git a/controllers/gpt_enginner20240706044308 b/controllers/gpt_enginner20240706044308 new file mode 160000 index 0000000000000000000000000000000000000000..8727d6766e106d705ed54620fc1a87c706da317e --- /dev/null +++ b/controllers/gpt_enginner20240706044308 @@ -0,0 +1 @@ +Subproject commit 8727d6766e106d705ed54620fc1a87c706da317e diff --git a/controllers/gpt_enginner20240706044429 b/controllers/gpt_enginner20240706044429 new file mode 160000 index 0000000000000000000000000000000000000000..4701e5c5193847fcf53eb4a2ca34b73877494595 --- /dev/null +++ b/controllers/gpt_enginner20240706044429 @@ -0,0 +1 @@ +Subproject commit 4701e5c5193847fcf53eb4a2ca34b73877494595 diff --git a/controllers/gpt_enginner20240706044513 b/controllers/gpt_enginner20240706044513 new file mode 160000 index 0000000000000000000000000000000000000000..a73bccb0961e69c961a6216236cc327180a0e97c --- /dev/null +++ b/controllers/gpt_enginner20240706044513 @@ -0,0 +1 @@ +Subproject commit a73bccb0961e69c961a6216236cc327180a0e97c diff --git a/controllers/gpt_enginner20240706044938 b/controllers/gpt_enginner20240706044938 new file mode 160000 index 0000000000000000000000000000000000000000..fdc07d87823174b2adb4ce4f246c8f4312587e36 --- /dev/null +++ b/controllers/gpt_enginner20240706044938 @@ -0,0 +1 @@ +Subproject commit fdc07d87823174b2adb4ce4f246c8f4312587e36 diff --git a/controllers/gpt_enginner20240706045438 b/controllers/gpt_enginner20240706045438 new file mode 160000 index 0000000000000000000000000000000000000000..408f0a8fbeac075c3f696641d5c2527e7e45eb14 --- /dev/null +++ b/controllers/gpt_enginner20240706045438 @@ -0,0 +1 @@ +Subproject commit 408f0a8fbeac075c3f696641d5c2527e7e45eb14 diff --git a/controllers/gpt_enginner20240706045619 b/controllers/gpt_enginner20240706045619 new file mode 160000 index 0000000000000000000000000000000000000000..ea404dda75c95ddf3ea5d17fabca8fbef97a42e3 --- /dev/null +++ b/controllers/gpt_enginner20240706045619 @@ -0,0 +1 @@ +Subproject commit ea404dda75c95ddf3ea5d17fabca8fbef97a42e3 diff --git a/controllers/gpt_enginner20240706045732 b/controllers/gpt_enginner20240706045732 new file mode 160000 index 0000000000000000000000000000000000000000..db8bdfec8234734ce8c6852b1453817ae15cfcbd --- /dev/null +++ b/controllers/gpt_enginner20240706045732 @@ -0,0 +1 @@ +Subproject commit db8bdfec8234734ce8c6852b1453817ae15cfcbd diff --git a/controllers/gpt_enginner20240706050802 b/controllers/gpt_enginner20240706050802 new file mode 160000 index 0000000000000000000000000000000000000000..3986d423852bb724794a8c0297da0e4c8556243f --- /dev/null +++ b/controllers/gpt_enginner20240706050802 @@ -0,0 +1 @@ +Subproject commit 3986d423852bb724794a8c0297da0e4c8556243f diff --git a/controllers/gpt_enginner20240706051417 b/controllers/gpt_enginner20240706051417 new file mode 160000 index 0000000000000000000000000000000000000000..df7b0d8b104377874324941e4a767b0af7ffd8e8 --- /dev/null +++ b/controllers/gpt_enginner20240706051417 @@ -0,0 +1 @@ +Subproject commit df7b0d8b104377874324941e4a767b0af7ffd8e8 diff --git a/controllers/gpt_enginner20240706052605 b/controllers/gpt_enginner20240706052605 new file mode 160000 index 0000000000000000000000000000000000000000..2e349203c382a9747497dac508eee1c07ace9af3 --- /dev/null +++ b/controllers/gpt_enginner20240706052605 @@ -0,0 +1 @@ +Subproject commit 2e349203c382a9747497dac508eee1c07ace9af3 diff --git a/controllers/gpt_enginner20240706052636 b/controllers/gpt_enginner20240706052636 new file mode 160000 index 0000000000000000000000000000000000000000..af8ee42b5c256537f3c1c2d8c6a2d6f5b44d9eea --- /dev/null +++ b/controllers/gpt_enginner20240706052636 @@ -0,0 +1 @@ +Subproject commit af8ee42b5c256537f3c1c2d8c6a2d6f5b44d9eea diff --git a/controllers/gpt_enginner20240706063303 b/controllers/gpt_enginner20240706063303 new file mode 160000 index 0000000000000000000000000000000000000000..84519cd758b3fb209789549c47433233cb0dbaff --- /dev/null +++ b/controllers/gpt_enginner20240706063303 @@ -0,0 +1 @@ +Subproject commit 84519cd758b3fb209789549c47433233cb0dbaff diff --git a/controllers/gpt_enginner20240706064239 b/controllers/gpt_enginner20240706064239 new file mode 160000 index 0000000000000000000000000000000000000000..b2ab1d65cc1b9610e5319c7cc374820bf08b79d3 --- /dev/null +++ b/controllers/gpt_enginner20240706064239 @@ -0,0 +1 @@ +Subproject commit b2ab1d65cc1b9610e5319c7cc374820bf08b79d3 diff --git a/controllers/gpt_enginner20240706064439 b/controllers/gpt_enginner20240706064439 new file mode 160000 index 0000000000000000000000000000000000000000..3ef7a2dfd43bd1bc9a24bf3b8d4d1c3e84be83ef --- /dev/null +++ b/controllers/gpt_enginner20240706064439 @@ -0,0 +1 @@ +Subproject commit 3ef7a2dfd43bd1bc9a24bf3b8d4d1c3e84be83ef diff --git a/controllers/gpt_enginner20240706064718 b/controllers/gpt_enginner20240706064718 new file mode 160000 index 0000000000000000000000000000000000000000..b831caf9d51113e4f802f67f4402439201405356 --- /dev/null +++ b/controllers/gpt_enginner20240706064718 @@ -0,0 +1 @@ +Subproject commit b831caf9d51113e4f802f67f4402439201405356 diff --git a/controllers/gpt_enginner20240706064852 b/controllers/gpt_enginner20240706064852 new file mode 160000 index 0000000000000000000000000000000000000000..cf85ad3836b5171d43c05f5fc77a70cebd5503f9 --- /dev/null +++ b/controllers/gpt_enginner20240706064852 @@ -0,0 +1 @@ +Subproject commit cf85ad3836b5171d43c05f5fc77a70cebd5503f9 diff --git a/controllers/gpt_enginner20240706065016 b/controllers/gpt_enginner20240706065016 new file mode 160000 index 0000000000000000000000000000000000000000..c7660462bed8dae93eba09ee40bc68858b26fe7b --- /dev/null +++ b/controllers/gpt_enginner20240706065016 @@ -0,0 +1 @@ +Subproject commit c7660462bed8dae93eba09ee40bc68858b26fe7b diff --git a/controllers/gpt_enginner20240706083458 b/controllers/gpt_enginner20240706083458 new file mode 160000 index 0000000000000000000000000000000000000000..7592d29d2f074404903c8fb8a41c16bef34b6bc7 --- /dev/null +++ b/controllers/gpt_enginner20240706083458 @@ -0,0 +1 @@ +Subproject commit 7592d29d2f074404903c8fb8a41c16bef34b6bc7 diff --git a/controllers/gpt_enginner20240706083645 b/controllers/gpt_enginner20240706083645 new file mode 160000 index 0000000000000000000000000000000000000000..ae6b0ee6249fb22f33a2daee6a58ea53fd8cf4f8 --- /dev/null +++ b/controllers/gpt_enginner20240706083645 @@ -0,0 +1 @@ +Subproject commit ae6b0ee6249fb22f33a2daee6a58ea53fd8cf4f8 diff --git a/controllers/gpt_enginner20240706133336 b/controllers/gpt_enginner20240706133336 new file mode 160000 index 0000000000000000000000000000000000000000..da9af972e4e99dfd761d27b3cbbcc88958bcdafc --- /dev/null +++ b/controllers/gpt_enginner20240706133336 @@ -0,0 +1 @@ +Subproject commit da9af972e4e99dfd761d27b3cbbcc88958bcdafc diff --git a/controllers/gpt_enginner20240706233220 b/controllers/gpt_enginner20240706233220 new file mode 160000 index 0000000000000000000000000000000000000000..ffad259a7b21ddaed9f4111415479cedca8526a6 --- /dev/null +++ b/controllers/gpt_enginner20240706233220 @@ -0,0 +1 @@ +Subproject commit ffad259a7b21ddaed9f4111415479cedca8526a6 diff --git a/controllers/gpt_enginner20240706235235 b/controllers/gpt_enginner20240706235235 new file mode 160000 index 0000000000000000000000000000000000000000..1d402c7926d5139b5f1e8fbd4ac293f223f44dd6 --- /dev/null +++ b/controllers/gpt_enginner20240706235235 @@ -0,0 +1 @@ +Subproject commit 1d402c7926d5139b5f1e8fbd4ac293f223f44dd6 diff --git a/controllers/gpt_enginner20240707004537 b/controllers/gpt_enginner20240707004537 new file mode 160000 index 0000000000000000000000000000000000000000..697218026986374f9597218301d7fca5fd7d3f27 --- /dev/null +++ b/controllers/gpt_enginner20240707004537 @@ -0,0 +1 @@ +Subproject commit 697218026986374f9597218301d7fca5fd7d3f27 diff --git a/controllers/gpt_enginner20240707043647 b/controllers/gpt_enginner20240707043647 new file mode 160000 index 0000000000000000000000000000000000000000..165561f3516fd1f696ffe62b22b3d315bb46aca0 --- /dev/null +++ b/controllers/gpt_enginner20240707043647 @@ -0,0 +1 @@ +Subproject commit 165561f3516fd1f696ffe62b22b3d315bb46aca0 diff --git a/controllers/gpt_enginner20240707043750 b/controllers/gpt_enginner20240707043750 new file mode 160000 index 0000000000000000000000000000000000000000..e1794e8c6c74a6226804047372cca0107ef97b7e --- /dev/null +++ b/controllers/gpt_enginner20240707043750 @@ -0,0 +1 @@ +Subproject commit e1794e8c6c74a6226804047372cca0107ef97b7e diff --git a/controllers/gpt_enginner20240707044044 b/controllers/gpt_enginner20240707044044 new file mode 160000 index 0000000000000000000000000000000000000000..58c661ff1c3e5d706591887b8396625a5307859d --- /dev/null +++ b/controllers/gpt_enginner20240707044044 @@ -0,0 +1 @@ +Subproject commit 58c661ff1c3e5d706591887b8396625a5307859d diff --git a/controllers/gpt_enginner20240707084353 b/controllers/gpt_enginner20240707084353 new file mode 160000 index 0000000000000000000000000000000000000000..d2d293c00a35e5d57b7f2e5d1e9a0e088dc3700f --- /dev/null +++ b/controllers/gpt_enginner20240707084353 @@ -0,0 +1 @@ +Subproject commit d2d293c00a35e5d57b7f2e5d1e9a0e088dc3700f diff --git a/controllers/gpt_enginner20240707125740 b/controllers/gpt_enginner20240707125740 new file mode 160000 index 0000000000000000000000000000000000000000..8d807c8be8d0983533cf4f1bd212bd26cb325160 --- /dev/null +++ b/controllers/gpt_enginner20240707125740 @@ -0,0 +1 @@ +Subproject commit 8d807c8be8d0983533cf4f1bd212bd26cb325160 diff --git a/controllers/gpt_enginner20240707125846 b/controllers/gpt_enginner20240707125846 new file mode 160000 index 0000000000000000000000000000000000000000..83e4e83f6c82bc1c823f9a270a86b85895e5fa1f --- /dev/null +++ b/controllers/gpt_enginner20240707125846 @@ -0,0 +1 @@ +Subproject commit 83e4e83f6c82bc1c823f9a270a86b85895e5fa1f diff --git a/controllers/gpt_enginner20240707130030 b/controllers/gpt_enginner20240707130030 new file mode 160000 index 0000000000000000000000000000000000000000..a5a6a46420480dd986bceb19d043563f73388c9b --- /dev/null +++ b/controllers/gpt_enginner20240707130030 @@ -0,0 +1 @@ +Subproject commit a5a6a46420480dd986bceb19d043563f73388c9b diff --git a/controllers/gpt_enginner20240707130249 b/controllers/gpt_enginner20240707130249 new file mode 160000 index 0000000000000000000000000000000000000000..1e8141d310bb035e8fa0884db91ab594080bdd05 --- /dev/null +++ b/controllers/gpt_enginner20240707130249 @@ -0,0 +1 @@ +Subproject commit 1e8141d310bb035e8fa0884db91ab594080bdd05 diff --git a/controllers/gpt_enginner20240707131213 b/controllers/gpt_enginner20240707131213 new file mode 160000 index 0000000000000000000000000000000000000000..a6f2e84bc0210520e546330a0ba0cb4032bdcdef --- /dev/null +++ b/controllers/gpt_enginner20240707131213 @@ -0,0 +1 @@ +Subproject commit a6f2e84bc0210520e546330a0ba0cb4032bdcdef diff --git a/controllers/gpt_enginner20240707131301 b/controllers/gpt_enginner20240707131301 new file mode 160000 index 0000000000000000000000000000000000000000..16e55b7bff83d4dc16d5cd42290e9ca772c38cd3 --- /dev/null +++ b/controllers/gpt_enginner20240707131301 @@ -0,0 +1 @@ +Subproject commit 16e55b7bff83d4dc16d5cd42290e9ca772c38cd3 diff --git a/controllers/gpt_enginner20240707133522 b/controllers/gpt_enginner20240707133522 new file mode 160000 index 0000000000000000000000000000000000000000..44478d37735e4e09c81c052a28a90c74e01a69e2 --- /dev/null +++ b/controllers/gpt_enginner20240707133522 @@ -0,0 +1 @@ +Subproject commit 44478d37735e4e09c81c052a28a90c74e01a69e2 diff --git a/controllers/gpt_enginner20240710134351 b/controllers/gpt_enginner20240710134351 new file mode 160000 index 0000000000000000000000000000000000000000..68e3d45b51423aed79e7a19fc67c108ab88b53b5 --- /dev/null +++ b/controllers/gpt_enginner20240710134351 @@ -0,0 +1 @@ +Subproject commit 68e3d45b51423aed79e7a19fc67c108ab88b53b5 diff --git a/controllers/gpt_enginner20240711112843 b/controllers/gpt_enginner20240711112843 new file mode 160000 index 0000000000000000000000000000000000000000..45965ba9af31123e36282f11c4b0167dc0123788 --- /dev/null +++ b/controllers/gpt_enginner20240711112843 @@ -0,0 +1 @@ +Subproject commit 45965ba9af31123e36282f11c4b0167dc0123788 diff --git a/controllers/gpt_enginner20240711114252 b/controllers/gpt_enginner20240711114252 new file mode 160000 index 0000000000000000000000000000000000000000..ca27854877cb40ec164eb987342acdf4b5320576 --- /dev/null +++ b/controllers/gpt_enginner20240711114252 @@ -0,0 +1 @@ +Subproject commit ca27854877cb40ec164eb987342acdf4b5320576 diff --git a/controllers/gpt_enginner20240711120957 b/controllers/gpt_enginner20240711120957 new file mode 160000 index 0000000000000000000000000000000000000000..1849a649e760ef15c45e39a017020ca8de5ab5f4 --- /dev/null +++ b/controllers/gpt_enginner20240711120957 @@ -0,0 +1 @@ +Subproject commit 1849a649e760ef15c45e39a017020ca8de5ab5f4 diff --git a/controllers/gpt_enginner20240711121139 b/controllers/gpt_enginner20240711121139 new file mode 160000 index 0000000000000000000000000000000000000000..719cce2577aa6316115685110516a890358c356b --- /dev/null +++ b/controllers/gpt_enginner20240711121139 @@ -0,0 +1 @@ +Subproject commit 719cce2577aa6316115685110516a890358c356b diff --git a/controllers/gpt_enginner20240711121639 b/controllers/gpt_enginner20240711121639 new file mode 160000 index 0000000000000000000000000000000000000000..ca8e704272190fbe1eb01526228947b8b218a774 --- /dev/null +++ b/controllers/gpt_enginner20240711121639 @@ -0,0 +1 @@ +Subproject commit ca8e704272190fbe1eb01526228947b8b218a774 diff --git a/controllers/gpt_enginner20240711122025 b/controllers/gpt_enginner20240711122025 new file mode 160000 index 0000000000000000000000000000000000000000..a8997054b9784a6f3b5142c158a397915a92a8ce --- /dev/null +++ b/controllers/gpt_enginner20240711122025 @@ -0,0 +1 @@ +Subproject commit a8997054b9784a6f3b5142c158a397915a92a8ce diff --git a/controllers/gpt_enginner20240711122058 b/controllers/gpt_enginner20240711122058 new file mode 160000 index 0000000000000000000000000000000000000000..34aa808541f1f17e08a25270063de8d5421f2969 --- /dev/null +++ b/controllers/gpt_enginner20240711122058 @@ -0,0 +1 @@ +Subproject commit 34aa808541f1f17e08a25270063de8d5421f2969 diff --git a/controllers/gpt_enginner20240711123751 b/controllers/gpt_enginner20240711123751 new file mode 160000 index 0000000000000000000000000000000000000000..77e4d2b57352b8ac7b0f94c8be0cef9c0cb74841 --- /dev/null +++ b/controllers/gpt_enginner20240711123751 @@ -0,0 +1 @@ +Subproject commit 77e4d2b57352b8ac7b0f94c8be0cef9c0cb74841 diff --git a/controllers/gpt_enginner20240711133951 b/controllers/gpt_enginner20240711133951 new file mode 160000 index 0000000000000000000000000000000000000000..3089de3aa559c8ec5b7b1f809e55505e40d05f02 --- /dev/null +++ b/controllers/gpt_enginner20240711133951 @@ -0,0 +1 @@ +Subproject commit 3089de3aa559c8ec5b7b1f809e55505e40d05f02 diff --git a/controllers/gpt_enginner20240711134110 b/controllers/gpt_enginner20240711134110 new file mode 160000 index 0000000000000000000000000000000000000000..5822382539209468eb210fa61057bbe7e60438d2 --- /dev/null +++ b/controllers/gpt_enginner20240711134110 @@ -0,0 +1 @@ +Subproject commit 5822382539209468eb210fa61057bbe7e60438d2 diff --git a/controllers/gpt_enginner20240711134228 b/controllers/gpt_enginner20240711134228 new file mode 160000 index 0000000000000000000000000000000000000000..038863b9079c2ba5439e6a93f300a4f12f8a93d5 --- /dev/null +++ b/controllers/gpt_enginner20240711134228 @@ -0,0 +1 @@ +Subproject commit 038863b9079c2ba5439e6a93f300a4f12f8a93d5 diff --git a/controllers/gpt_enginner20240714053710 b/controllers/gpt_enginner20240714053710 new file mode 160000 index 0000000000000000000000000000000000000000..991ea5db058cf75475680b6fd6db5e82f7d4f296 --- /dev/null +++ b/controllers/gpt_enginner20240714053710 @@ -0,0 +1 @@ +Subproject commit 991ea5db058cf75475680b6fd6db5e82f7d4f296 diff --git a/controllers/gpt_enginner20240714055450 b/controllers/gpt_enginner20240714055450 new file mode 160000 index 0000000000000000000000000000000000000000..a33c88d702171044e7b1d20eff590c556fe31858 --- /dev/null +++ b/controllers/gpt_enginner20240714055450 @@ -0,0 +1 @@ +Subproject commit a33c88d702171044e7b1d20eff590c556fe31858 diff --git a/controllers/gpt_enginner20240714055615 b/controllers/gpt_enginner20240714055615 new file mode 160000 index 0000000000000000000000000000000000000000..ee51199c7a82b4690b20bd0754379c0f6d794377 --- /dev/null +++ b/controllers/gpt_enginner20240714055615 @@ -0,0 +1 @@ +Subproject commit ee51199c7a82b4690b20bd0754379c0f6d794377 diff --git a/controllers/gpt_enginner20240714055701 b/controllers/gpt_enginner20240714055701 new file mode 160000 index 0000000000000000000000000000000000000000..4b7edc085cb13559f911f895cb9a05204f8dd7c5 --- /dev/null +++ b/controllers/gpt_enginner20240714055701 @@ -0,0 +1 @@ +Subproject commit 4b7edc085cb13559f911f895cb9a05204f8dd7c5 diff --git a/controllers/gpt_enginner20240714055738 b/controllers/gpt_enginner20240714055738 new file mode 160000 index 0000000000000000000000000000000000000000..2cfc1d87c9aecb96de1b0a8f94da65e3b243c5bf --- /dev/null +++ b/controllers/gpt_enginner20240714055738 @@ -0,0 +1 @@ +Subproject commit 2cfc1d87c9aecb96de1b0a8f94da65e3b243c5bf diff --git a/controllers/gpt_enginner20240714055919 b/controllers/gpt_enginner20240714055919 new file mode 160000 index 0000000000000000000000000000000000000000..56849ce85df49847b46cc4eaa12d8e5c508f262e --- /dev/null +++ b/controllers/gpt_enginner20240714055919 @@ -0,0 +1 @@ +Subproject commit 56849ce85df49847b46cc4eaa12d8e5c508f262e diff --git a/controllers/gpt_enginner20240714060005 b/controllers/gpt_enginner20240714060005 new file mode 160000 index 0000000000000000000000000000000000000000..5c90f4bf41ba334be094b9aa9ff855a1bcee29e8 --- /dev/null +++ b/controllers/gpt_enginner20240714060005 @@ -0,0 +1 @@ +Subproject commit 5c90f4bf41ba334be094b9aa9ff855a1bcee29e8 diff --git a/controllers/gpt_enginner20240714060742 b/controllers/gpt_enginner20240714060742 new file mode 160000 index 0000000000000000000000000000000000000000..cc6704c19cda0112b06f4e1f200dae5419cc86a8 --- /dev/null +++ b/controllers/gpt_enginner20240714060742 @@ -0,0 +1 @@ +Subproject commit cc6704c19cda0112b06f4e1f200dae5419cc86a8 diff --git a/controllers/gpt_enginner20240714061938 b/controllers/gpt_enginner20240714061938 new file mode 160000 index 0000000000000000000000000000000000000000..a6313f61f0bca0837ba52884dfbdd393863bb189 --- /dev/null +++ b/controllers/gpt_enginner20240714061938 @@ -0,0 +1 @@ +Subproject commit a6313f61f0bca0837ba52884dfbdd393863bb189 diff --git a/controllers/gpt_enginner20240714062321 b/controllers/gpt_enginner20240714062321 new file mode 160000 index 0000000000000000000000000000000000000000..c5792357e4195bebab9dd90e739ee306915c2093 --- /dev/null +++ b/controllers/gpt_enginner20240714062321 @@ -0,0 +1 @@ +Subproject commit c5792357e4195bebab9dd90e739ee306915c2093 diff --git a/controllers/gpt_enginner20240714062817 b/controllers/gpt_enginner20240714062817 new file mode 160000 index 0000000000000000000000000000000000000000..b3d0947989a2cf0fc9e9cf7f4353d64b0e7f7482 --- /dev/null +++ b/controllers/gpt_enginner20240714062817 @@ -0,0 +1 @@ +Subproject commit b3d0947989a2cf0fc9e9cf7f4353d64b0e7f7482 diff --git a/controllers/gpt_enginner20240714063256 b/controllers/gpt_enginner20240714063256 new file mode 160000 index 0000000000000000000000000000000000000000..74905520850f9a676a030af95ce987b9ce3ea1b6 --- /dev/null +++ b/controllers/gpt_enginner20240714063256 @@ -0,0 +1 @@ +Subproject commit 74905520850f9a676a030af95ce987b9ce3ea1b6 diff --git a/controllers/gpt_enginner20240714063737 b/controllers/gpt_enginner20240714063737 new file mode 160000 index 0000000000000000000000000000000000000000..e112585ced953a7a02f7b2d8c13a81308014e6fd --- /dev/null +++ b/controllers/gpt_enginner20240714063737 @@ -0,0 +1 @@ +Subproject commit e112585ced953a7a02f7b2d8c13a81308014e6fd diff --git a/controllers/gpt_enginner20240714064228 b/controllers/gpt_enginner20240714064228 new file mode 160000 index 0000000000000000000000000000000000000000..a29e93a056973d8057cb0d4b203517dc41c9c6b6 --- /dev/null +++ b/controllers/gpt_enginner20240714064228 @@ -0,0 +1 @@ +Subproject commit a29e93a056973d8057cb0d4b203517dc41c9c6b6 diff --git a/controllers/gpt_enginner20240714065015 b/controllers/gpt_enginner20240714065015 new file mode 160000 index 0000000000000000000000000000000000000000..72274b1bf0e8b4ba2eb42b9438de9ec8aec795ab --- /dev/null +++ b/controllers/gpt_enginner20240714065015 @@ -0,0 +1 @@ +Subproject commit 72274b1bf0e8b4ba2eb42b9438de9ec8aec795ab diff --git a/controllers/gpt_enginner20240714135335 b/controllers/gpt_enginner20240714135335 new file mode 160000 index 0000000000000000000000000000000000000000..4c7f1996f94066d236fff90c1977dd2ff5d6f20f --- /dev/null +++ b/controllers/gpt_enginner20240714135335 @@ -0,0 +1 @@ +Subproject commit 4c7f1996f94066d236fff90c1977dd2ff5d6f20f diff --git a/controllers/gpt_enginner20240714140114 b/controllers/gpt_enginner20240714140114 new file mode 160000 index 0000000000000000000000000000000000000000..5dea7558a258ef367b6dd8303fd9aaf95d3b61b8 --- /dev/null +++ b/controllers/gpt_enginner20240714140114 @@ -0,0 +1 @@ +Subproject commit 5dea7558a258ef367b6dd8303fd9aaf95d3b61b8 diff --git a/controllers/gpt_enginner20240714140300 b/controllers/gpt_enginner20240714140300 new file mode 160000 index 0000000000000000000000000000000000000000..eaa68aec67408473dae84cf7ea15f020e9f858da --- /dev/null +++ b/controllers/gpt_enginner20240714140300 @@ -0,0 +1 @@ +Subproject commit eaa68aec67408473dae84cf7ea15f020e9f858da diff --git a/controllers/gpt_enginner20240714140605 b/controllers/gpt_enginner20240714140605 new file mode 160000 index 0000000000000000000000000000000000000000..78bf9246289bf62f26561df8f8aafbe4c40dfe24 --- /dev/null +++ b/controllers/gpt_enginner20240714140605 @@ -0,0 +1 @@ +Subproject commit 78bf9246289bf62f26561df8f8aafbe4c40dfe24 diff --git a/controllers/gpt_enginner20240716003049 b/controllers/gpt_enginner20240716003049 new file mode 160000 index 0000000000000000000000000000000000000000..d8ff5c6b8b021651b86def53797c166226211353 --- /dev/null +++ b/controllers/gpt_enginner20240716003049 @@ -0,0 +1 @@ +Subproject commit d8ff5c6b8b021651b86def53797c166226211353 diff --git a/controllers/gpt_enginner20240718000643 b/controllers/gpt_enginner20240718000643 new file mode 160000 index 0000000000000000000000000000000000000000..b2cb5b7509e5eaa9347d4402c978aba4b27dae1d --- /dev/null +++ b/controllers/gpt_enginner20240718000643 @@ -0,0 +1 @@ +Subproject commit b2cb5b7509e5eaa9347d4402c978aba4b27dae1d diff --git a/controllers/gpt_enginner20240718000914 b/controllers/gpt_enginner20240718000914 new file mode 160000 index 0000000000000000000000000000000000000000..8c9f36aaa91e087733637496aa95e55b433b0e32 --- /dev/null +++ b/controllers/gpt_enginner20240718000914 @@ -0,0 +1 @@ +Subproject commit 8c9f36aaa91e087733637496aa95e55b433b0e32 diff --git a/controllers/gpt_enginner20240718001019 b/controllers/gpt_enginner20240718001019 new file mode 160000 index 0000000000000000000000000000000000000000..76b4b1c875973d7d4be3b3a20f2880ae672fc820 --- /dev/null +++ b/controllers/gpt_enginner20240718001019 @@ -0,0 +1 @@ +Subproject commit 76b4b1c875973d7d4be3b3a20f2880ae672fc820 diff --git a/controllers/gpt_enginner20240718001944 b/controllers/gpt_enginner20240718001944 new file mode 160000 index 0000000000000000000000000000000000000000..1e10107008a6da195d6e699cb3833a9e049bbcbe --- /dev/null +++ b/controllers/gpt_enginner20240718001944 @@ -0,0 +1 @@ +Subproject commit 1e10107008a6da195d6e699cb3833a9e049bbcbe diff --git a/controllers/gpt_enginner20240718002058 b/controllers/gpt_enginner20240718002058 new file mode 160000 index 0000000000000000000000000000000000000000..b345709a1ea3b2374605ce6f5798b7fd861a55d4 --- /dev/null +++ b/controllers/gpt_enginner20240718002058 @@ -0,0 +1 @@ +Subproject commit b345709a1ea3b2374605ce6f5798b7fd861a55d4 diff --git a/controllers/gpt_enginner20240718002149 b/controllers/gpt_enginner20240718002149 new file mode 160000 index 0000000000000000000000000000000000000000..cdb3c032bb20f7b4a9102fadfb92aa939c67f7fa --- /dev/null +++ b/controllers/gpt_enginner20240718002149 @@ -0,0 +1 @@ +Subproject commit cdb3c032bb20f7b4a9102fadfb92aa939c67f7fa diff --git a/controllers/gpt_enginner20240718002950 b/controllers/gpt_enginner20240718002950 new file mode 160000 index 0000000000000000000000000000000000000000..c27adb747ae9c510ca5cc4c6bbef30170edd698f --- /dev/null +++ b/controllers/gpt_enginner20240718002950 @@ -0,0 +1 @@ +Subproject commit c27adb747ae9c510ca5cc4c6bbef30170edd698f diff --git a/controllers/gpt_enginner20240718005423 b/controllers/gpt_enginner20240718005423 new file mode 160000 index 0000000000000000000000000000000000000000..a3bfd7a23efaaaecb32754dd6978e980825a87ff --- /dev/null +++ b/controllers/gpt_enginner20240718005423 @@ -0,0 +1 @@ +Subproject commit a3bfd7a23efaaaecb32754dd6978e980825a87ff diff --git a/controllers/gpt_enginner20240718010207 b/controllers/gpt_enginner20240718010207 new file mode 160000 index 0000000000000000000000000000000000000000..8ede6582d47aa46c3a4190a18c97e26441a7e3bb --- /dev/null +++ b/controllers/gpt_enginner20240718010207 @@ -0,0 +1 @@ +Subproject commit 8ede6582d47aa46c3a4190a18c97e26441a7e3bb diff --git a/controllers/gpt_enginner20240718021148/prompt b/controllers/gpt_enginner20240718021148/prompt new file mode 100644 index 0000000000000000000000000000000000000000..77d1371c6362448358316387427e095b9f2af317 --- /dev/null +++ b/controllers/gpt_enginner20240718021148/prompt @@ -0,0 +1,56 @@ + +下記の質問に対応するコードをdjangoでアプリを作成 プロジェクトはいりません +fastapiでrouter部分を作成 組み込みはメイン部分でします +フロントエンドをgradioで作成 +#google apps script frontend + googleappsscript doGet でのgradioの表示処理を作成 google.script.runで関数は呼び出し +#google apps script backend + frontendからの呼び出し用のバックエンドスクリプト +仕様書の作成 +PlantUMLでシーケンス図の作成 +Markdownでのプログラム殺名 +#下記参考にAPIも作成しておいて +action insert list edit update でCRUDがかわる +同じようにGASのAPIも作成しておいて + +def create_vector(): + inputs = tokenizer(result, return_tensors="pt", max_length=512, truncation=True) + outputs = model(**inputs) + # [CLS]トークンの出力を取得 + embeddings = outputs.last_hidden_state[:,0,:].squeeze().detach().cpu().numpy().tolist() + print(embeddings) + import requests + + url = "https://kenken999-php.hf.space/api/v1.php" + + payload = "model_name={embeddings}&vector_text={result}&table=products&action=insert"" + headers = { + 'X-Auth-Token': 'admin', + 'Content-Type': 'application/x-www-form-urlencoded', + 'Cookie': 'runnerSession=muvclb78zpsdjbm7y9c3; pD1lszvk6ratOZhmmgvkp=13767810ebf0782b0b51bf72dedb63b3' + } + + response = requests.request("POST", url, headers=headers, data=payload) + + print(response.text) + return True + +下記の質問 作成対応内容 + +【リッチメニュー】本日の金価格に関するお問い合わせですね。 + +まず、当社のYOUTUBEチャンネルでは、金価格に関する動画を多数配信しています。以下のURLをご覧ください。 +https://www.youtube.com/@refastaofficial/search?query=金価格 + +また、以下のQ&Aを参考にしてください。 +Q: 本日の金価格は何ですか? +A: 現在の金価格は、当社のホームページや店頭でご確認ください。 +Q: 金価格は何に影響を受けますか? +A: 金価格は、世界的な金の需要や供給、為替相場などに影響を受けます。 +Q: リファスタでは金を買取りますか? +A: はい、リファスタでは金を買取ります。当社の査定員が精査した値段でお買取りします。 + +最後に、以下は当社の商品検索URLです。 +https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=金価格 + +当社の査定員がお買取り金額を査定しますので、お気軽にお問い合わせください。 \ No newline at end of file diff --git a/diamond_project/diamond_project/__init__.py b/diamond_project/diamond_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/diamond_project/diamond_project/asgi.py b/diamond_project/diamond_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..198fa6e5e32fb1402f88256aa0e56b0dd8c73cc1 --- /dev/null +++ b/diamond_project/diamond_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for diamond_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', 'diamond_project.settings') + +application = get_asgi_application() diff --git a/diamond_project/diamond_project/settings.py b/diamond_project/diamond_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..18579e133fb00983879246b9e658e2cc4138c4c6 --- /dev/null +++ b/diamond_project/diamond_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for diamond_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-u(pvu0(0+#$msnv=ci*b9kz(s))4topzo8nhc60_+_an+!u!i1' + +# 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 = 'diamond_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 = 'diamond_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/diamond_project/diamond_project/urls.py b/diamond_project/diamond_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..a632ba4fc15f8d07f59f30ae562d399e20ea1d02 --- /dev/null +++ b/diamond_project/diamond_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for diamond_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/diamond_project/diamond_project/wsgi.py b/diamond_project/diamond_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a41214ceadfc1b187790c6db5b95cc8c90ad6fe7 --- /dev/null +++ b/diamond_project/diamond_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for diamond_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', 'diamond_project.settings') + +application = get_wsgi_application() diff --git a/diamond_project/manage.py b/diamond_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8f9541a25da02d63950f1153766e06e51d0b179f --- /dev/null +++ b/diamond_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', 'diamond_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/git2014.txt b/git2014.txt new file mode 100644 index 0000000000000000000000000000000000000000..30d74d258442c7c65512eafab474568dd706c430 --- /dev/null +++ b/git2014.txt @@ -0,0 +1 @@ +test \ No newline at end of file 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/workspace/myproject/workspace/myproject/mydjango/asgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py similarity index 75% rename from workspace/myproject/workspace/myproject/mydjango/asgi.py rename to gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py index 56e5d5c70fd37d03995baddb2aa055d335e4f0b2..e358f75e397269065dfe6d601a112139bacc82ec 100644 --- a/workspace/myproject/workspace/myproject/mydjango/asgi.py +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for mydjango project. +ASGI config for gold_app project. It exposes the ASGI callable as a module-level variable named ``application``. @@ -11,6 +11,6 @@ import os from django.core.asgi import get_asgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjango.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/mydjango/settings.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py similarity index 93% rename from workspace/myproject/workspace/myproject/mydjango/settings.py rename to gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py index d92b17fc7b5763024fcf2b6a58cce21c2185f4cb..3a326c33f46f38b7f010221c6bcd5749a0679003 100644 --- a/workspace/myproject/workspace/myproject/mydjango/settings.py +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/settings.py @@ -1,5 +1,5 @@ """ -Django settings for mydjango project. +Django settings for gold_app project. Generated by 'django-admin startproject' using Django 5.0.4. @@ -20,7 +20,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # 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-)#1_g@*3oa%#&nb^cbia3e_s#tcq$^m#ln%blm5#hwn(!gi3#)' +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 @@ -49,7 +49,7 @@ MIDDLEWARE = [ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'mydjango.urls' +ROOT_URLCONF = 'gold_app.urls' TEMPLATES = [ { @@ -67,7 +67,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'mydjango.wsgi.application' +WSGI_APPLICATION = 'gold_app.wsgi.application' # Database diff --git a/workspace/myproject/workspace/myproject/mydjango/urls.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py similarity index 94% rename from workspace/myproject/workspace/myproject/mydjango/urls.py rename to gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py index 893bc80c0c0cdf8bb42e7e26d8aa42ed67859c7e..e23b0e30153a3c3383792a441157a46539bf7430 100644 --- a/workspace/myproject/workspace/myproject/mydjango/urls.py +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/urls.py @@ -1,5 +1,5 @@ """ -URL configuration for mydjango project. +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/ diff --git a/workspace/myproject/workspace/myproject/mydjango/wsgi.py b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py similarity index 75% rename from workspace/myproject/workspace/myproject/mydjango/wsgi.py rename to gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py index 2efa3bb55e56916069e1bb8793c2a998692950e7..f7b117b1f8e87cff512805de437ffafa2a9620e9 100644 --- a/workspace/myproject/workspace/myproject/mydjango/wsgi.py +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/gold_app/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for mydjango project. +WSGI config for gold_app project. It exposes the WSGI callable as a module-level variable named ``application``. @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjango.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/manage.py b/gold_division_project/workspace/workspace/mynewproject/workspace/manage.py similarity index 90% rename from workspace/myproject/workspace/myproject/manage.py rename to gold_division_project/workspace/workspace/mynewproject/workspace/manage.py index d20149efe01d965af7b9dbe83e15f9e68462e605..c8a341e2adc3bb6a1e91cc799a23104353b6f279 100755 --- a/workspace/myproject/workspace/myproject/manage.py +++ b/gold_division_project/workspace/workspace/mynewproject/workspace/manage.py @@ -6,7 +6,7 @@ import sys def main(): """Run administrative tasks.""" - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjango.settings') + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_app.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: 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/gold_price_project/gold_price_app/__init__.py b/gold_price_project/gold_price_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_price_project/gold_price_app/admin.py b/gold_price_project/gold_price_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_price_project/gold_price_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_price_project/gold_price_app/apps.py b/gold_price_project/gold_price_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..fc103382140c38d9f98ed98369a642265d166c5a --- /dev/null +++ b/gold_price_project/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/gold_price_project/gold_price_app/migrations/__init__.py b/gold_price_project/gold_price_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_price_project/gold_price_app/models.py b/gold_price_project/gold_price_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_price_project/gold_price_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_price_project/gold_price_app/tests.py b/gold_price_project/gold_price_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_price_project/gold_price_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_price_project/gold_price_app/views.py b/gold_price_project/gold_price_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_price_project/gold_price_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_price_project/gold_price_project/__init__.py b/gold_price_project/gold_price_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_price_project/gold_price_project/asgi.py b/gold_price_project/gold_price_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..73793953476a74de21d48a827acc99ef6a8020f2 --- /dev/null +++ b/gold_price_project/gold_price_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_price_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_price_project.settings') + +application = get_asgi_application() diff --git a/gold_price_project/gold_price_project/settings.py b/gold_price_project/gold_price_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..5eceb4f40dc26d11d9d3b2959fc7069ccb20e126 --- /dev/null +++ b/gold_price_project/gold_price_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_price_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-^(rpl+)@d1j7g8crw#@n5*$55565q^&9!tgtyv__hh&&0s!cw#' + +# 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_price_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_price_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_price_project/gold_price_project/urls.py b/gold_price_project/gold_price_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..cfe3c884d279617ff7dec1778fe5cec3c96ada0d --- /dev/null +++ b/gold_price_project/gold_price_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_price_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_price_project/gold_price_project/wsgi.py b/gold_price_project/gold_price_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..5935d71bf033fb2474687e5f19bdce18712586e8 --- /dev/null +++ b/gold_price_project/gold_price_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_price_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_price_project.settings') + +application = get_wsgi_application() diff --git a/gold_price_project/manage.py b/gold_price_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..bfc08dc0b28184746028777bbd225ee48039ac6b --- /dev/null +++ b/gold_price_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_price_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_price_project/workspace/main.py b/gold_price_project/workspace/main.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_app/__init__.py b/gold_project/gold_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_app/admin.py b/gold_project/gold_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/gold_project/gold_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/gold_project/gold_app/apps.py b/gold_project/gold_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..d57f74e230002567d8fc48b77cff89f06252a1cb --- /dev/null +++ b/gold_project/gold_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold_app' diff --git a/gold_project/gold_app/migrations/__init__.py b/gold_project/gold_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_app/models.py b/gold_project/gold_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/gold_project/gold_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/gold_project/gold_app/tests.py b/gold_project/gold_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/gold_project/gold_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/gold_project/gold_app/views.py b/gold_project/gold_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/gold_project/gold_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/gold_project/gold_project/__init__.py b/gold_project/gold_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_project/asgi.py b/gold_project/gold_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..de16e3cb22f891ea80a3082cbf3edd0327eac8ef --- /dev/null +++ b/gold_project/gold_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_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_project.settings') + +application = get_asgi_application() diff --git a/gold_project/gold_project/main.py b/gold_project/gold_project/main.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_project/settings.py b/gold_project/gold_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..d0d8b969442227e78515a933d0214bad1b77826e --- /dev/null +++ b/gold_project/gold_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_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-ybdct(!^4a1z_k*mopp7jchq)qm6a3z(8tq)+2g%q__(*wq0(#' + +# 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_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_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_project/gold_project/urls.py b/gold_project/gold_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b640313014bf6cb67eb9329ce8fc4b8ddff2e9f7 --- /dev/null +++ b/gold_project/gold_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_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_project/gold_project/workspace/gradio_app.py b/gold_project/gold_project/workspace/gradio_app.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/gold_project/wsgi.py b/gold_project/gold_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..672fe65eb48a6199842b9d82f315af2464e77999 --- /dev/null +++ b/gold_project/gold_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_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_project.settings') + +application = get_wsgi_application() diff --git a/gold_project/manage.py b/gold_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..be0862078d8c3270706671f1f6353ec0b215f24e --- /dev/null +++ b/gold_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_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_project/workspace/gold_price_api/__init__.py b/gold_project/workspace/gold_price_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/workspace/gold_price_api/asgi.py b/gold_project/workspace/gold_price_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a782d73cad03e9df2dc692101696abf6ae72c49f --- /dev/null +++ b/gold_project/workspace/gold_price_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_price_api 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_price_api.settings') + +application = get_asgi_application() diff --git a/gold_project/workspace/gold_price_api/settings.py b/gold_project/workspace/gold_price_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..0b6d813cd3799ce868e73ebfd030e5d3374f2963 --- /dev/null +++ b/gold_project/workspace/gold_price_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_price_api 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-4u604s)chj4^07hm7v$=_fv0-a$c8pqkpvta)6cf*(eaguoqgf' + +# 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_price_api.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_price_api.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_project/workspace/gold_price_api/urls.py b/gold_project/workspace/gold_price_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..6fcbae301d11d074fb9c9fca4adda18378208f34 --- /dev/null +++ b/gold_project/workspace/gold_price_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_price_api 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_project/workspace/gold_price_api/workspace/gold_price_api/__init__.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/asgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a782d73cad03e9df2dc692101696abf6ae72c49f --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_price_api 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_price_api.settings') + +application = get_asgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/settings.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..559a8f2f0fb931cffc44934e70f89330bb50c668 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_price_api 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-p80vrdf(hy)#!*uyb(a-3l@%--)of7t@l^-5(uxc*5n$wo+e_t' + +# 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_price_api.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_price_api.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_project/workspace/gold_price_api/workspace/gold_price_api/urls.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..6fcbae301d11d074fb9c9fca4adda18378208f34 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_price_api 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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/__init__.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/asgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a782d73cad03e9df2dc692101696abf6ae72c49f --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_price_api 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_price_api.settings') + +application = get_asgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/settings.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..0e57b5089f324eb9d3bf3b10fcc73026feb849f8 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_price_api 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-b&0n0t4e!zwdc!poe&p!etkt$t41avs=_okyw&v1%07eb#r!k1' + +# 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_price_api.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_price_api.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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/urls.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..6fcbae301d11d074fb9c9fca4adda18378208f34 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_price_api 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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/__init__.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/asgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a782d73cad03e9df2dc692101696abf6ae72c49f --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_price_api 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_price_api.settings') + +application = get_asgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/settings.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..91d45a83eda0933538bca8954882f829afaae3be --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_price_api 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-+8s=87s)!t2tz)1m1w&!^4s4_k1y2r*22(dgo4f8a+d$=(ucit' + +# 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_price_api.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_price_api.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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/urls.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..6fcbae301d11d074fb9c9fca4adda18378208f34 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_price_api 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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/wsgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..27ddaefab86c2c21bc00f4f955f603490b3489e9 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/gold_price_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_price_api 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_price_api.settings') + +application = get_wsgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/manage.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..b07f5672fb75d26d7e43cd4783d04832509ba194 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/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_price_api.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_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/wsgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..27ddaefab86c2c21bc00f4f955f603490b3489e9 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/gold_price_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_price_api 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_price_api.settings') + +application = get_wsgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/manage.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..b07f5672fb75d26d7e43cd4783d04832509ba194 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/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_price_api.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_project/workspace/gold_price_api/workspace/gold_price_api/wsgi.py b/gold_project/workspace/gold_price_api/workspace/gold_price_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..27ddaefab86c2c21bc00f4f955f603490b3489e9 --- /dev/null +++ b/gold_project/workspace/gold_price_api/workspace/gold_price_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_price_api 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_price_api.settings') + +application = get_wsgi_application() diff --git a/gold_project/workspace/gold_price_api/workspace/manage.py b/gold_project/workspace/gold_price_api/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..b07f5672fb75d26d7e43cd4783d04832509ba194 --- /dev/null +++ b/gold_project/workspace/gold_price_api/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_price_api.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_project/workspace/gold_price_api/wsgi.py b/gold_project/workspace/gold_price_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..27ddaefab86c2c21bc00f4f955f603490b3489e9 --- /dev/null +++ b/gold_project/workspace/gold_price_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_price_api 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_price_api.settings') + +application = get_wsgi_application() diff --git a/gold_project/workspace/manage.py b/gold_project/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..b07f5672fb75d26d7e43cd4783d04832509ba194 --- /dev/null +++ b/gold_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', 'gold_price_api.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/goldprice_project/goldprice_app/__init__.py b/goldprice_project/goldprice_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/goldprice_project/goldprice_app/admin.py b/goldprice_project/goldprice_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/goldprice_project/goldprice_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/goldprice_project/goldprice_app/apps.py b/goldprice_project/goldprice_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9b9ce97e5791e2b397139d956d573bf92a93aea7 --- /dev/null +++ b/goldprice_project/goldprice_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldpriceAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'goldprice_app' diff --git a/goldprice_project/goldprice_app/migrations/__init__.py b/goldprice_project/goldprice_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/goldprice_project/goldprice_app/models.py b/goldprice_project/goldprice_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/goldprice_project/goldprice_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/goldprice_project/goldprice_app/tests.py b/goldprice_project/goldprice_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/goldprice_project/goldprice_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/goldprice_project/goldprice_app/views.py b/goldprice_project/goldprice_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/goldprice_project/goldprice_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/goldprice_project/goldprice_project/__init__.py b/goldprice_project/goldprice_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/goldprice_project/goldprice_project/asgi.py b/goldprice_project/goldprice_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..c54c91ee547e91151e0e95120d23f19c32aae1b2 --- /dev/null +++ b/goldprice_project/goldprice_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for goldprice_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', 'goldprice_project.settings') + +application = get_asgi_application() diff --git a/goldprice_project/goldprice_project/settings.py b/goldprice_project/goldprice_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..afc868e15469bcb960c52b3a1210c1d2ef1b89f0 --- /dev/null +++ b/goldprice_project/goldprice_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for goldprice_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-sjx#bm#o4)!@+!ctw*8p^+0kg!&071okufaxo5)md0#8ji=ld^' + +# 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 = 'goldprice_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 = 'goldprice_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/goldprice_project/goldprice_project/urls.py b/goldprice_project/goldprice_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..9297314d04083bb03687e116da67eff8cd1545fc --- /dev/null +++ b/goldprice_project/goldprice_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for goldprice_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/goldprice_project/goldprice_project/wsgi.py b/goldprice_project/goldprice_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..00a82d2e8af0fa1814ce7710e9ce9fda42513924 --- /dev/null +++ b/goldprice_project/goldprice_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for goldprice_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', 'goldprice_project.settings') + +application = get_wsgi_application() diff --git a/goldprice_project/manage.py b/goldprice_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..ed82a1d5ba26a366854f64d7e90a6bc4f0da107d --- /dev/null +++ b/goldprice_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', 'goldprice_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/mainapi/__init__.py b/mainapi/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/mainapi/admin.py b/mainapi/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/mainapi/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/mainapi/apps.py b/mainapi/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..6ffd2cc6004bf0dd7faa44598ba641d97d3961a3 --- /dev/null +++ b/mainapi/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MainapiConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mainapi' diff --git a/mainapi/migrations/__init__.py b/mainapi/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/mainapi/models.py b/mainapi/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/mainapi/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/mainapi/tests.py b/mainapi/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/mainapi/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/mainapi/views.py b/mainapi/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/mainapi/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/metal_registration/manage.py b/metal_registration/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..5d9317595e361242d45a49e8830561bafb362137 --- /dev/null +++ b/metal_registration/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', 'metal_registration.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/metal_registration/metal_registration/__init__.py b/metal_registration/metal_registration/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/metal_registration/metal_registration/asgi.py b/metal_registration/metal_registration/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..b3432afc723caf20461e25753015b233ba9a74d1 --- /dev/null +++ b/metal_registration/metal_registration/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for metal_registration 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', 'metal_registration.settings') + +application = get_asgi_application() diff --git a/metal_registration/metal_registration/settings.py b/metal_registration/metal_registration/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..d6ac7c16fe8c602ffa8a2092a8580661a47d16f0 --- /dev/null +++ b/metal_registration/metal_registration/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for metal_registration 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-*b_6@v_77#3xgqnyxn68125nvnu6pg*1in6=!)5!!l5y@c@xhb' + +# 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 = 'metal_registration.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 = 'metal_registration.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/metal_registration/metal_registration/urls.py b/metal_registration/metal_registration/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..8ac053bd04c7b5e284ffa12f9469b9677330f3bd --- /dev/null +++ b/metal_registration/metal_registration/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for metal_registration 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/metal_registration/metal_registration/wsgi.py b/metal_registration/metal_registration/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..5d224444be51ad6762ac51a422984795850cd467 --- /dev/null +++ b/metal_registration/metal_registration/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for metal_registration 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', 'metal_registration.settings') + +application = get_wsgi_application() diff --git a/myapp/__init__.py b/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myapp/admin.py b/myapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/myapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/apps.py b/myapp/apps.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/apps.py rename to myapp/apps.py diff --git a/myapp/migrations/__init__.py b/myapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myapp/models.py b/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/myapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/myapp/tests.py b/myapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/myapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/myapp/views.py b/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/myapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/mydjangoapp/__init__.py b/mydjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/mydjangoapp/admin.py b/mydjangoapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/mydjangoapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/mydjangoapp/apps.py b/mydjangoapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..0fe954672f69beabdba9ee24818d305d12c1fcf0 --- /dev/null +++ b/mydjangoapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjangoapp' diff --git a/mydjangoapp/migrations/__init__.py b/mydjangoapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/mydjangoapp/models.py b/mydjangoapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/mydjangoapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/mydjangoapp/tests.py b/mydjangoapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/mydjangoapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/mydjangoapp/views.py b/mydjangoapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/mydjangoapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/myproject/goldprice_project/goldprice_app/__init__.py b/myproject/goldprice_project/goldprice_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myproject/goldprice_project/goldprice_app/admin.py b/myproject/goldprice_project/goldprice_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/myproject/goldprice_project/goldprice_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/myproject/goldprice_project/goldprice_app/apps.py b/myproject/goldprice_project/goldprice_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9b9ce97e5791e2b397139d956d573bf92a93aea7 --- /dev/null +++ b/myproject/goldprice_project/goldprice_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldpriceAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'goldprice_app' diff --git a/myproject/goldprice_project/goldprice_app/migrations/__init__.py b/myproject/goldprice_project/goldprice_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myproject/goldprice_project/goldprice_app/models.py b/myproject/goldprice_project/goldprice_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/myproject/goldprice_project/goldprice_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/myproject/goldprice_project/goldprice_app/tests.py b/myproject/goldprice_project/goldprice_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/myproject/goldprice_project/goldprice_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/myproject/goldprice_project/goldprice_app/views.py b/myproject/goldprice_project/goldprice_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/myproject/goldprice_project/goldprice_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/myproject/goldprice_project/goldprice_project/__init__.py b/myproject/goldprice_project/goldprice_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myproject/goldprice_project/goldprice_project/asgi.py b/myproject/goldprice_project/goldprice_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..c54c91ee547e91151e0e95120d23f19c32aae1b2 --- /dev/null +++ b/myproject/goldprice_project/goldprice_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for goldprice_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', 'goldprice_project.settings') + +application = get_asgi_application() diff --git a/myproject/goldprice_project/goldprice_project/settings.py b/myproject/goldprice_project/goldprice_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..7c15b08e5db40489d4beaea14597a474e8937219 --- /dev/null +++ b/myproject/goldprice_project/goldprice_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for goldprice_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-g-w=^f(=b4u4)r9%7feleoyoc@lldf4m0g41l6@50yf(o$0y1-' + +# 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 = 'goldprice_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 = 'goldprice_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/myproject/goldprice_project/goldprice_project/urls.py b/myproject/goldprice_project/goldprice_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..9297314d04083bb03687e116da67eff8cd1545fc --- /dev/null +++ b/myproject/goldprice_project/goldprice_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for goldprice_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/myproject/goldprice_project/goldprice_project/wsgi.py b/myproject/goldprice_project/goldprice_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..00a82d2e8af0fa1814ce7710e9ce9fda42513924 --- /dev/null +++ b/myproject/goldprice_project/goldprice_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for goldprice_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', 'goldprice_project.settings') + +application = get_wsgi_application() diff --git a/myproject/goldprice_project/manage.py b/myproject/goldprice_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..ed82a1d5ba26a366854f64d7e90a6bc4f0da107d --- /dev/null +++ b/myproject/goldprice_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', 'goldprice_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/myproject_new/manage.py b/myproject_new/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..f7b9b3fb26e4cc793c9ad61b86ff8e98fc620ae1 --- /dev/null +++ b/myproject_new/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', 'myproject_new.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/myproject_new/myproject_new/__init__.py b/myproject_new/myproject_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myproject_new/myproject_new/asgi.py b/myproject_new/myproject_new/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e51c92d2a9b0dea165675abb09e219179ec1157b --- /dev/null +++ b/myproject_new/myproject_new/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for myproject_new 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', 'myproject_new.settings') + +application = get_asgi_application() diff --git a/myproject_new/myproject_new/settings.py b/myproject_new/myproject_new/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..3de5a19ebc5694953f80d5b67a1436b817647f3a --- /dev/null +++ b/myproject_new/myproject_new/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for myproject_new 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-9%=-$%&oc)fw1)wlc^ja7d=&oxk7_2$chjh5ql3mqu06x(9j4n' + +# 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 = 'myproject_new.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 = 'myproject_new.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/myproject_new/myproject_new/urls.py b/myproject_new/myproject_new/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..43277b389ebb0001c5c4ff00d272ccd8083c5360 --- /dev/null +++ b/myproject_new/myproject_new/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for myproject_new 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/myproject_new/myproject_new/wsgi.py b/myproject_new/myproject_new/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..63b57d378a33ca5d2cb37e73c7f76067f8293825 --- /dev/null +++ b/myproject_new/myproject_new/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for myproject_new 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', 'myproject_new.settings') + +application = get_wsgi_application() diff --git a/mysite/interpreter/google_chat.py b/mysite/interpreter/google_chat.py index cdc79f275665853c73fdc5a29f5261cad9af0eda..5b13904b5e01c14fe688b2c3eacd49c8f61472fb 100644 --- a/mysite/interpreter/google_chat.py +++ b/mysite/interpreter/google_chat.py @@ -5,7 +5,64 @@ def convert_newlines_to_google_chat_format(text): # 改行文字を
タグに置き換える return text.replace('\\n', '\\\n') # -def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,image_url=None): + +def send_google_chat_wav(webhook_url, title, subtitle, link_text, link_url,image_url=None): + headers = { + 'Content-Type': 'application/json; charset=UTF-8' + } + + #subtitle = convert_newlines_to_google_chat_format(subtitle) + + card_message = { + "cards": [ + { + "header": { + "title": title, + "imageUrl": image_url, + "imageStyle": "IMAGE" + }, + "sections": [ + { + "widgets": [ + { + "textParagraph": { + "text": "音声ファイル" + } + }, + { + "buttons": [ + { + "textButton": { + "text": "音声を開く", + "onClick": { + "openLink": { + "url": subtitle + } + } + } + } + ] + }, + ] + } + ] + } + ] + } + response = requests.post(webhook_url, headers=headers, data=json.dumps(card_message)) + + if response.status_code == 200: + print("Message posted successfully.") + else: + print(f"Failed to post message: {response.status_code}, {response.text}") + # + response_data = response.json() + thread_name = response_data['thread']['name'] + return thread_name + + + +def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,image_url=None,wav_url=None): headers = { 'Content-Type': 'application/json; charset=UTF-8' } @@ -32,44 +89,100 @@ def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,imag "buttons": [ { "textButton": { - "text": "チャットボット設定シートを開く ", + "text": "ラインチャットを開く", "onClick": { "openLink": { - "url": link_url + "url": "https://kenken999-php.hf.space/main_list.php?page=mainpage" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "答えを確認する(GSS)", + "onClick": { + "openLink": { + "url": "https://docs.google.com/spreadsheets/d/13pqP-Ywo5eRlZBsYX2m3ChARG38EoIYOowFd3cWij1c/edit?gid=546803454#gid=546803454" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "音声ファイルを開く", + "onClick": { + "openLink": { + "url": wav_url } } } } ] }, + { + "buttons": [ + { + "textButton": { + "text": "vtuber", + "onClick": { + "openLink": { + "url": "https://kenken999-fastapi-django-main.hf.space/static/index.html" + } + } + } + } + ] + }, { "buttons": [ { "textButton": { - "text": "ラインチャットを開く", + "text": "ナレッジを追加する", + "onClick": { + "openLink": { + "url": "https://miibo.dev/admin/datastore" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "ナレッジの作り方", "onClick": { "openLink": { - "url": "https://chat.line.biz/U2df77fd63804c72346b4e50c0096572e/chat/Ua13ef47afc077917275658a44019e072" + "url": "https://chill-shoemaker-341.notion.site/dd577fb90fa7446bb3d25ce1c832da30" } } } } ] - }, + }, { "buttons": [ { "textButton": { - "text": "データがヒットしない場合登録", + "text": "予定管理をする", "onClick": { "openLink": { - "url": "https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=500%E5%86%86" + "url": "https://urlounge.atlassian.net/browse/KAN-41" } } } } ] - }, + }, ] } ] diff --git a/mysite/interpreter/google_chat_bk.py b/mysite/interpreter/google_chat_bk.py new file mode 100644 index 0000000000000000000000000000000000000000..ab8f9aa96ffc2bd19b64af580476618001b00301 --- /dev/null +++ b/mysite/interpreter/google_chat_bk.py @@ -0,0 +1,251 @@ +import requests +import json + +def convert_newlines_to_google_chat_format(text): + # 改行文字を
タグに置き換える + return text.replace('\\n', '\\\n') +# +def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,image_url=None): + headers = { + 'Content-Type': 'application/json; charset=UTF-8' + } + + subtitle = convert_newlines_to_google_chat_format(subtitle) + + card_message = { + "cards": [ + { + "header": { + "title": title, + "imageUrl": image_url, + "imageStyle": "IMAGE" + }, + "sections": [ + { + "widgets": [ + { + "textParagraph": { + "text": subtitle + } + }, + { + "buttons": [ + { + "textButton": { + "text": "チャットボット設定シートを開く ", + "onClick": { + "openLink": { + "url": link_url + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "ラインチャットを開く", + "onClick": { + "openLink": { + "url": "https://chat.line.biz/U2df77fd63804c72346b4e50c0096572e/chat/Ua13ef47afc077917275658a44019e072" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "プロンプト修正", + "onClick": { + "openLink": { + "url": "https://kenken999-php.hf.space/prompts_list.php" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "Q&A検証正しい物だけにチェック", + "onClick": { + "openLink": { + "url": "https://kenken999-php.hf.space/zendesk__dataszz_list.php?qs=500%E5%86%86" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "データ確認チャット 反映されているか確認", + "onClick": { + "openLink": { + "url": "https://kenken999-nodex-n8n-domain.hf.space/webhook/6264497c-6231-4023-abef-82b86f8e298b/chat" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "WEBボットカスタマーサポートテスト", + "onClick": { + "openLink": { + "url": "https://kenken999-php.hf.space/main_list.php?page=mainpage" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "HUBスポットチャットテスト", + "onClick": { + "openLink": { + "url": "https://kenken999-gradio-fastapi-statichfspace-46277896.hubspotpagebuilder.com/workflow" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "ダイヤモンドデータ確認 EVAのデータも登録し予測検索用にベクトル化する", + "onClick": { + "openLink": { + "url": "https://kenken999-php.hf.space/diamondprice_list.php" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "ワークフロー修正", + "onClick": { + "openLink": { + "url": "https://kenken999-nodex-n8n-domain.hf.space/workflow/hArXsWSx9ZrvUnvT" + } + } + } + } + ] + }, + { + "buttons": [ + { + "textButton": { + "text": "全体行程マインドマップ", + "onClick": { + "openLink": { + "url": "https://www.mindmeister.com/3342966040?e=turtle&new=1#" + } + } + } + } + ] + }, + + ] + } + ] + } + ] + } + + + response = requests.post(webhook_url, headers=headers, data=json.dumps(card_message)) + + if response.status_code == 200: + print("Message posted successfully.") + else: + print(f"Failed to post message: {response.status_code}, {response.text}") + # + response_data = response.json() + thread_name = response_data['thread']['name'] + return thread_name + +def send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name): + headers = { + 'Content-Type': 'application/json; charset=UTF-8' + } + + subtitle = convert_newlines_to_google_chat_format(subtitle) + + card_message = { + "cards": [ + { + "header": { + "title": title, + }, + "sections": [ + { + "widgets": [ + { + "textParagraph": { + "text": subtitle + } + }, + { + "textParagraph": { + "text": "{}".format(link_text) + } + }, + { + "buttons": [ + { + "textButton": { + "text": "Open Link", + "onClick": { + "openLink": { + "url": link_url + } + } + } + } + ] + }, + ] + } + ] + } + ], + "thread": { + "name":thread_name + } + } + + #https://chat.googleapis.com/v1/spaces/AAAAv_S3Bco/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=D635e0eoj7MdO8HV6Ufs1HUZdNiDdz-Eo3Td3OqAFKI&messageReplyOption=REPLY_MESSAGE_OR_FAIL + response = requests.post(webhook_url+"&messageReplyOption=REPLY_MESSAGE_OR_FAIL", headers=headers, data=json.dumps(card_message)) + + if response.status_code == 200: + print("Message posted successfully.") + else: + print(f"Failed to post message: {response.status_code}, {response.text}") + + response_data = response.json() + thread_name = response_data['thread']['name'] + return thread_name \ No newline at end of file diff --git a/mysite/routers/fastapi.py b/mysite/routers/fastapi.py index f923d70cd87d572c6a099254782583ef0666b43b..2c5ccd23de10a653b27f05515eaa2a600970193e 100644 --- a/mysite/routers/fastapi.py +++ b/mysite/routers/fastapi.py @@ -14,7 +14,7 @@ from controllers.gra_04_database.rides import test_set_lide from mysite.interpreter.prompt import prompt_genalate,test_prompt from mysite.interpreter.google_chat import send_google_chat_card,send_google_chat_card_thread #from mysite.interpreter.interpreter import chat_with_interpreter -from routers.gra_02_openInterpreter.OpenInterpreter import chat_with_interpreter_no_stream +#from routers.gra_02_openInterpreter.OpenInterpreter import chat_with_interpreter_no_stream from mysite.appsheet.appsheet import get_senario import asyncio logger = logging.getLogger(__name__) diff --git a/mysite/routers/gradio.py b/mysite/routers/gradio.py index 51e20c108b09bffe023833454c64a56563110db7..72abdb0d9d85b8ba61203b6f86c28c6fe4925f6f 100644 --- a/mysite/routers/gradio.py +++ b/mysite/routers/gradio.py @@ -6,8 +6,8 @@ import mysite.interpreter.interpreter_config # インポートするだけで import importlib import os import pkgutil -from babyagi.babyagi import gradio_babyagi -from routers.gra_02_openInterpreter.OpenInterpreter import gradio_interface +#from babyagi.babyagi import gradio_babyagi +#from routers.gra_02_openInterpreter.OpenInterpreter import gradio_interface from llamafactory.webui.interface import create_ui def include_gradio_interfaces(): package_dir = "/home/user/app/routers" @@ -42,7 +42,7 @@ def setup_gradio_interfaces(): ## #from routers.gra_06_video.video import gradio_interface as video - default_interfaces = [gradio_babyagi,gradio_interface,create_ui()]#,demo] + default_interfaces = []#,demo] default_names = ["CreateTASK","Chat","OpenInterpreter","DataBase","CreateFromDOC","HTML","FILES"]#"demo"] gradio_interfaces, gradio_names = include_gradio_interfaces() diff --git a/mysite/static/audio.wav b/mysite/static/audio.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/mysite/static/audio.wav differ diff --git a/mysite/static/test.wav b/mysite/static/test.wav new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 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/refresh_app/manage.py b/refresh_app/manage.py new file mode 100644 index 0000000000000000000000000000000000000000..39483e7a41a7fba0de2c5660c31189c41f297cbb --- /dev/null +++ b/refresh_app/manage.py @@ -0,0 +1,4 @@ +from django.core.management import execute_from_command_line +import os +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'refresh_app.settings') +execute_from_command_line(sys.argv) diff --git a/refresh_app/settings.py b/refresh_app/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..69ddba0ad4339156244eb068452d6bc6b8e5651d --- /dev/null +++ b/refresh_app/settings.py @@ -0,0 +1,23 @@ +from pathlib import Path +BASE_DIR = Path(__file__).resolve().parent.parent +SECRET_KEY = '8cw%6bsf-y&2!rntamz&of$&a5st$uar6ly4u+4wffk0=0%i-b' +DEBUG = True +ALLOWED_HOSTS = [] +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 = 'refresh_app.urls' diff --git a/refresh_app/urls.py b/refresh_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..ee51af77f73129bd4b5b97e45ed00945f3a57f69 --- /dev/null +++ b/refresh_app/urls.py @@ -0,0 +1,5 @@ +from django.urls import path +from . import views +urlpatterns = [ + path('', views.index, name='index'), +] diff --git a/refresh_app/views.py b/refresh_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..9bda9b711e87a953b160e408ddbc02c412f5b673 --- /dev/null +++ b/refresh_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render +def index(request): + return HttpResponse('Welcome to Refresh App!') diff --git a/routers/gra_02_openInterpreter/OpenInterpreter.py b/routers/gra_02_openInterpreter/OpenInterpreter.py index e73c5ecf41d5f8dc90f7abaed1f18b27b05cec3f..506dc38e69351d1fbb845ccb107ff68dda955ced 100644 --- a/routers/gra_02_openInterpreter/OpenInterpreter.py +++ b/routers/gra_02_openInterpreter/OpenInterpreter.py @@ -224,9 +224,9 @@ def chat_with_interpreter_no_stream(message, history=None, a=None, b=None, c=Non return str(full_response), history -# 初期化 -initialize_db() - +## 初期化 +#initialize_db() +# PLACEHOLDER = """
diff --git a/routers/gra_04_database/rides.py b/routers/gra_04_database/rides.py index e40b97a6fea413ac46e264a481cfca9d2a597a07..56ed4314b2033d23ef7f1e34431910b209286329 100644 --- a/routers/gra_04_database/rides.py +++ b/routers/gra_04_database/rides.py @@ -3,7 +3,8 @@ import psycopg2 from dataclasses import dataclass, field from typing import List, Optional from mysite.interpreter.process import no_process_file,process_file - +import os +#### @dataclass class Ride: ride_id: Optional[int] = field(default=None) diff --git a/routers/gra_07_html/gradio.py b/routers/gra_07_html/gradio.py index 2c86ac397853f13138b9ee1a87579c7e160c6fc6..49a6aec88b5692c7b84099bea0517ec77b9dda0b 100644 --- a/routers/gra_07_html/gradio.py +++ b/routers/gra_07_html/gradio.py @@ -1,15 +1,45 @@ import gradio as gr - def display_html(): html_content = """

Hello, Gradio!

This is an example of displaying HTML content using Gradio.

+ """ return html_content @@ -17,12 +47,12 @@ def display_html(): gradio_interfaces = gr.Interface( fn=display_html, # HTMLコンテンツを返す関数 inputs=[], # 入力なし - outputs=gr.HTML() # HTMLコンテンツを表示 + outputs=gr.Markdown() # HTMLコンテンツを表示 ) # Gradioのインターフェースを作成 with gr.Blocks() as gradio_interface: - gr.HTML(display_html()) + gr.Markdown(display_html()) # インターフェースを起動 #iface.launch() diff --git a/routers/webhook.py b/routers/webhook.py index 63f0dcdef641a97a957be5be7204456fe10e4756..9be6227b0cc5333b4e5ed87f7b270b7a2309c1db 100644 --- a/routers/webhook.py +++ b/routers/webhook.py @@ -13,7 +13,7 @@ from mysite.libs.utilities import validate_signature, no_process_file #from mysite.database.database import ride,create_ride from routers.gra_04_database.rides import test_set_lide from mysite.interpreter.prompt import prompt_genalate,test_prompt -from mysite.interpreter.google_chat import send_google_chat_card,send_google_chat_card_thread +from mysite.interpreter.google_chat import send_google_chat_card,send_google_chat_card_thread,send_google_chat_wav #from mysite.interpreter.interpreter import chat_with_interpreter from routers.gra_02_openInterpreter.OpenInterpreter import chat_with_interpreter_no_stream from mysite.appsheet.appsheet import get_senario @@ -23,14 +23,17 @@ from command.line_get_user_profile import get_user_profile from command.n8n import post_data,post_data_line import time import traceback -logger = logging.getLogger(__name__) +from pathlib import Path +logger = logging.getLogger(__name__) +## #router = APIRouter() router = APIRouter() #@router.get("/route/webhooks") @router.post("/webhook") async def webhook(request: Request): + import os DEBUG=0 #return #logger.info("[Start] ====== LINE webhook ======") @@ -47,7 +50,7 @@ async def webhook(request: Request): n8nurl = os.getenv("n8nhook") thread_name="" - #return + ###return #url = github(token,foldername) try: @@ -97,13 +100,13 @@ async def webhook(request: Request): subtitle = f"""ユーザーID {user_id}\r\n 質問内容\r\n{message_id} {text}""" - + ## subtitle = f""" - ユーザーID:{user_id} - 質問内容: {text} + ユーザーID: + {user_id} + 質問内容: + {text} - 送信タイプ: {event_type} - ラインへ返信token /line_replay でチャットから返信{reply_token} """ #Webhook Event ID: {webhook_event_id}
#Delivery Context: {json.dumps(delivery_context)}
@@ -118,19 +121,63 @@ async def webhook(request: Request): link_text = "\r\nチャットボット設定用シート\r\n シート用のアプリはチャットから\r\n @リファペディア\r\n と打ち込むと開きます" link_url = "https://docs.google.com/spreadsheets/d/13pqP-Ywo5eRlZBsYX2m3ChARG38EoIYOowFd3cWij1c/edit?gid=283940886#gid=283940886" #test_set_lide(subtitle, text) - thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,thmbnail) - + #thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,thmbnail) + + import requests + import os + + # テキストを定義 + # texts = (text) + + # テキストをファイルに保存 + text_file_path = 'text.txt' + with open(text_file_path, 'w', encoding='utf-8') as file: + file.write(text) + + # 音声合成のクエリを取得 + with open(text_file_path, 'r', encoding='utf-8') as file: + response = requests.post( + "https://kenken999-voicebox.hf.space/audio_query?speaker=1", + params={'text': file.read()} + ) + + query_json = response.json() + + # 音声合成の実行 + response = requests.post( + "https://kenken999-voicebox.hf.space/synthesis?speaker=2", + headers={"Content-Type": "application/json"}, + json=query_json + ) + + # staticフォルダに音声ファイルを保存 + os.makedirs('staticfiles', exist_ok=True) + timestamp = datetime.now().strftime("%Y%m%d%H%M%S") + audio_file_name = f"audio_{timestamp}.wav" + audio_file_path = os.path.join('staticfiles', audio_file_name) + with open(audio_file_path, 'wb') as file: + file.write(response.content) + ##audio send add + print(f"Audio saved as {audio_file_path}") + wavurl = "https://kenken999-fastapi-django-main.hf.space/static/"+audio_file_name + #thread_name = send_google_chat_wav(webhook_url, "youtube audiofile", wavurl, link_text, link_url,thmbnail)#thread_name) + thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url,thmbnail,wavurl) + + + ######################################################################### ### n8n WorkFlowStart ######################################################################### line_signature = received_headers.get("x-line-signature") - #for debug + ####$for debug headers = { "Content-Type": "application/json", "X-Line-Signature": line_signature, "Authorization": f"Bearer {os.getenv('ChannelAccessToken')}", + "user_id":user_id, } #/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f + #d2d0af6e-5c42-45b6-a923-3bd2d8520e3d post_data("https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f",text,thread_name,headers) #http://localhost:7860/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f post_data_line("https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers) @@ -170,25 +217,29 @@ async def webhook(request: Request): ######################################################################### ## excute create program - res_no_process = no_process_file(prompt_for_create_system+res, "gpt_enginner"+ yyyymmddhis,thread_name) + if DEBUG==1: + res_no_process = no_process_file(prompt_for_create_system+res, "gpt_enginner"+ yyyymmddhis,thread_name) # execute open interpreter ######################################################################### - full_response,history = chat_with_interpreter_no_stream(prompt_for_create_system+"\r\n"+res) + if DEBUG==1: + full_response,history = chat_with_interpreter_no_stream(prompt_for_create_system+"\r\n"+res) if DEBUG==1: thread_name = send_google_chat_card_thread(webhook_url, f"自動設定開始 {res}", str(full_response), link_text, link_url,thread_name) - ######################################################################### + #################################################################### #ダイヤ金額計算 from babyagi.classesa.diamond import calculate - title = f""" ダイヤ予測計算の実行 類似5件表示 {text} - id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度""" - res_calculate = calculate(text) - subtitle = res_calculate - link_text = "データを確認する" - link_url = "https://kenken999-php.hf.space/diamondprice_list.php" - ######################################################################### - test_set_lide(subtitle, text) - if DEBUG==1: + title = f""" ダイヤ予測計算の実行 類似5件表示 {text} + id,price,carat, cut, color, clarity, depth, diamondprice.table, x, y, z 類似度""" + #ベクトルインデックス + res_calculate = calculate(text) + subtitle = res_calculate + link_text = "データを確認する" + link_url = "https://kenken999-php.hf.space/diamondprice_list.php" + ######################################################################### + #test_set_lide(subtitle, text) + + #if DEBUG==0: thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name) ######################################################################### from babyagi.babyagi import completion @@ -196,9 +247,9 @@ async def webhook(request: Request): text = text.replace("\r\n","") # コマンドを構築 command = f"""make runbabyagi "{text}に対して、より良いチャットボットでのQAプランデータ設定の提案を日本語で作成してください" {thread_name}""" - - with open('/home/user/app/babyagi/prompt.txt', 'w') as file: - file.write(f"""{text}の質問 についてチャットボットでよりよく対応するプランを日本語で作成して""") + if DEBUG==1: + with open('/home/user/app/babyagi/prompt.txt', 'w') as file: + file.write(f"""{text}の質問 についてチャットボットでよりよく対応するプランを日本語で作成して""") ###################################################################### if DEBUG==1: @@ -230,6 +281,7 @@ async def webhook(request: Request): # "Authorization": f"Bearer {os.getenv('ChannelAccessToken')}", # } #r#esponse = requests.post(os.getenv("WEBHOOK_URL"), headers=headers, data=body) + if not line_signature: raise HTTPException(status_code=400, detail="X-Line-Signature header is missing.") @@ -279,7 +331,9 @@ async def webhook(request: Request): #test_set_lide(subtitle, text) logger.error(res) #send error to google chat - send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name) + ### + #send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name) + logger.error("Error: %s", str(e)) #raise するとシステムとまるのでアンコメント #raise HTTPException(status_code=500, detail=str(e)) diff --git a/static/audio.wav b/static/audio.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/static/audio.wav differ diff --git a/static/index.html b/static/index.html index 76cbc8a7bae15bbc3d16970cf7d94288882ca305..727022455e628c267b8c13dbb0128cbc2ca54212 100644 --- a/static/index.html +++ b/static/index.html @@ -31,4 +31,5 @@
+test diff --git a/static/test.html b/static/test.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/static/test.wav b/static/test.wav new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/staticfiles/LICENSE b/staticfiles/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..c6fa631d6d958aaca714c9eaf8126ea57cc9d3a3 --- /dev/null +++ b/staticfiles/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 makunugi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/staticfiles/README.md b/staticfiles/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c5c0833d9099c8d3094c58438eb13cd71f6c1f3e --- /dev/null +++ b/staticfiles/README.md @@ -0,0 +1,79 @@ +# これは何か +チャット欄に寄せられるコメントに自動で応答をしながら進行をする、AIによるYouTube LIVE配信を行うためのサンプルです。 + +# 準備 + +AIによる雑談配信を行うためのソースコードはすでに実装済みです。 +下記の準備が必要な項目のみ設定が必要です。 + +## 1. 画像の用意 +下記の3つの名前の画像を用意し、ルートディレクトリ内に設置してください。 + +- chara.png +- chara_blinking.png +- background.png + +※`chara_blinking.png`は瞬きをしているキャラクターの静止画です。 +※`background.png`は背景の画像です。 +画像の名前を変更したい場合は、適宜index.html、aivtuber.js内を変更してください。 + +## 2. meboのAPIキー・エージェントIDの設定 +[mebo](https://mebo.work)を利用して、会話が可能なAIキャラクターを作成してください。 +mebo内の[Chara.AI Generator](https://zenn.dev/makunugi/articles/ebecbb5de562d6)という機能を利用すると、スムーズにAIキャラクターが作成できます。 + +AIキャラクターを作成したら、meboの公開設定画面でAIキャラクターを限定公開し、「APIを有効化」してください。 + +APIを有効化するとAPIキーとエージェントIDを取得できます。 + +APIキーを取得したら、`aivtuber.js`を開き、下記の箇所にAPIキーとエージェントIDを入力しましょう。 + +```js +const MEBO_API_KEY = ""; +const MEBO_AGENT_ID = ""; +``` + +## 3. VOICEVOXをインストール +声の読み上げはVOICEVOXを利用します。 +下記からVOICEVOXをインストールし、起動してください。VOICEVOXが起動されることで、ローカル環境にAPIが立ち上がります。 +[VOICEVOX公式サイト](https://voicevox.hiroshiba.jp/) + + +```js +const VOICE_VOX_API_URL = "http://localhost:50021"; +``` +デフォルトで上記が`aivtuber.js`に設定されています。ポート番号を変更する際は、上記のURLを適宜変更してください。 + +尚、VOICEVOXを利用してYouTube配信をする場合は、ライセンス表記が必要です。概要欄などできちんと明記をして利用しましょう。 +[VOICEVOX利用規約](https://voicevox.hiroshiba.jp/term/) + +## 4. YouTubeライブ配信のVIDEO IDを設定 +YouTubeのライブ配信の準備が整ったら、ライブ配信の動画のURLに末尾にあるVideo IDを`aivtuber.js`の下記の箇所に入力してください。 + +```js +const YOUTUBE_VIDEO_ID = ''; +``` + +Video IDは動画のURLの末尾にある「v=」より後の文字列です。 +`https://www.youtube.com/watch?v=x12345667` +上記であれば、Video IDは「x12345667」になります。 + + +## 5. YouTube Data APIのAPIキーの用意 +YouTubeライブ配信のコメントを取得するため、YouTube Data APIのAPIキーを利用します。 +APIキーの取得方法は、[こちら](https://qiita.com/shinkai_/items/10a400c25de270cb02e4#:~:text=%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%81%AE%E4%BD%9C%E6%88%90%EF%BC%88API%E3%82%AD%E3%83%BC%E3%81%AE%E4%BD%9C%E6%88%90%EF%BC%89,-%E3%80%8C%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%80%8D%E3%82%92&text=%E3%80%8C%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%82%92%E4%BD%9C%E6%88%90%E3%80%8D%E3%82%92,%E4%BF%9D%E5%AD%98%E3%80%8D%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF%E3%81%97%E3%81%BE%E3%81%99%E3%80%82)の記事が大変わかりやすくまとめられていました。 + +APIキーを取得したら、`aivtuber.js`の下記の箇所に入力しましょう。 + +```js +const YOUTUBE_DATA_API_KEY = ''; +``` + +# 動作確認 +`index.html`をブラウザで開きましょう。 +ページ下部のテキスト入力欄にコメントを入力し「送信」ボタンを押して、無事応答が返ってくれば成功です。 + +# LINE開始 +動作確認が完了したら、「LIVE開始」を押しましょう。 +YouTube LIVEのコメントに対して応答を返すようになります。 +[OBS](https://obsproject.com/ja/download)などの画面配信が可能なツールを利用して、AI VTuberを表示しているブラウザのキャプチャをYouTubeに配信しましょう。 + diff --git a/staticfiles/aivtuber.css b/staticfiles/aivtuber.css new file mode 100644 index 0000000000000000000000000000000000000000..de98410369a4ace488926b75979b6b06f8d7ef59 --- /dev/null +++ b/staticfiles/aivtuber.css @@ -0,0 +1,66 @@ +html, +body { + background-image: url('background.png'); + background-size: cover; + margin: 0; + overflow: hidden; + color: #FFFFFF; +} + +div.aiResponseBox { + position: absolute; + top: 10%; + width: 70%; + right: 20%; +} + +div.bottomBox { + position: absolute; + bottom: 0%; + width: 80%; + margin-left: 2%; + margin-right: 10%; +} + +div { + text-align: center; +} + +.ai-response { + font-size: 2.5rem; + font-weight: 600; + line-height: 1.4em; + padding: 5px; + background-color: rgba(0, 0, 0, 0.5); +} + +#userComment { + text-align: center; + font-size: 24px; + margin: 2rem; +} + +#typewriter::after { + content: "|"; + animation-name: blink; + animation-duration: 1s; + animation-iteration-count: infinite; +} + +#vtuber { + position: absolute; + bottom: -3%; + right: 15%; + width: 100%; + text-align: right; +} + +@keyframes blink { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} \ No newline at end of file diff --git a/staticfiles/aivtuber.js b/staticfiles/aivtuber.js new file mode 100644 index 0000000000000000000000000000000000000000..014259e4446bdb696f88554dbca1194cbf01aba8 --- /dev/null +++ b/staticfiles/aivtuber.js @@ -0,0 +1,313 @@ +//TODO: meboの定数 +const MEBO_API_KEY = "f278b522-4d1d-44b2-ab8c-fe87765450531909c8256fc4c"; +const MEBO_AGENT_ID = "3621b152-82fe-4ffd-9696-1daa0934e37a19087ba9d801fc"; +// https://segarkil.com/aivtuber-vhigh#toc13 +// TODO: VOICEVOXのURL (デフォルトの設定の場合は変える必要なし) +const VOICE_VOX_API_URL = "https://kenken999-voicebox.hf.space"; + +// TODO: ライブ配信するYouTubeのVideoID +const YOUTUBE_VIDEO_ID = 'YfkEQzWh8xQ'; +// TODO: YouTube Data APIを利用可能なAPIKEY +const YOUTUBE_DATA_API_KEY = 'AIzaSyC1ALJ9naZQXZs-FwrxrPz9D4gkE1OOkLo'; + +// コメントの取得インターバル (ms) +const INTERVAL_MILL_SECONDS_RETRIEVING_COMMENTS = 10000; +// QUEUEに積まれたコメントを捌くインターバル (ms) +const INTERVAL_MILL_SECONDS_HANDLING_COMMENTS = 3000; + +// VOICEVOXのSpeakerID +const VOICEVOX_SPEAKER_ID = '10'; + +var audio = new Audio(); +// 処理するコメントのキュー +var liveCommentQueues = []; +// 回答済みのコメントの配列 +var responsedLiveComments = []; +// VTuberが応答を考え中であるかどうか +var isThinking = false; +// ライブごとに設定する識別子 +var LIVE_OWNER_ID = createUuid(); +// NGワードの配列 +var ngwords = [] +// YouTube LIVEのコメント取得のページング +var nextPageToken = ""; +// コメントの取得が開始されているかどうかのフラグ +var isLiveCommentsRetrieveStarted = true; + +const getLiveChatId = async () => { + const response = await fetch('https://youtube.googleapis.com/youtube/v3/videos?part=liveStreamingDetails&id=' + YOUTUBE_VIDEO_ID + '&key=' + YOUTUBE_DATA_API_KEY, { + method: 'get', + headers: { + 'Content-Type': 'application/json' + } + }) + const json = await response.json(); + if (json.items.length == 0) { + return ""; + } + return json.items[0].liveStreamingDetails.activeLiveChatId +} + +const getLiveComments = async (activeLiveChatId) => { + const response = await fetch('https://youtube.googleapis.com/youtube/v3/liveChat/messages?liveChatId=' + activeLiveChatId + '&part=authorDetails%2Csnippet&key=' + YOUTUBE_DATA_API_KEY, { + method: 'get', + headers: { + 'Content-Type': 'application/json' + } + }) + const json = await response.json(); + const items = json.items; + return json.items[0].liveStreamingDetails.activeLiveChatId +} + +const startTyping = (param) => { + let el = document.querySelector(param.el); + el.textContent = ""; + let speed = param.speed; + let string = param.string.split(""); + string.forEach((char, index) => { + setTimeout(() => { + el.textContent += char; + }, speed * index); + }); +}; + +async function getMeboResponse(utterance, username, uid, apikey, agentId) { + var requestBody = { + 'api_key': apikey, + 'agent_id': agentId, + 'utterance': utterance, + 'username': username, + 'uid': uid, + } + const response = await fetch('https://api-mebo.dev/api', { + method: 'post', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify(requestBody) + }) + const content = await response.json(); + return content.bestResponse.utterance; +} + +const playVoice = async (inputText) => { + audio.pause(); + audio.currentTime = 0; + const ttsQuery = await fetch(VOICE_VOX_API_URL + '/audio_query?speaker=' + VOICEVOX_SPEAKER_ID + '&text=' + encodeURI(inputText), { + method: 'post', + headers: { + 'Content-Type': 'application/json' + } + }) + if (!ttsQuery) return; + const queryJson = await ttsQuery.json(); + const response = await fetch(VOICE_VOX_API_URL + '/synthesis?speaker=' + VOICEVOX_SPEAKER_ID + '&speedScale=2', { + method: 'post', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify(queryJson) + }) + if (!response) return; + const blob = await response.blob(); + const audioSourceURL = window.URL || window.webkitURL + audio = new Audio(audioSourceURL.createObjectURL(blob)); + audio.onended = function () { + setTimeout(handleNewLiveCommentIfNeeded, 1000); + } + audio.play(); +} + +const visibleAIResponse = () => { + let target = document.getElementById('aiResponse'); + target.style.display = "" +} + +const invisibleAIResponse = () => { + let target = document.getElementById('aiResponse'); + target.style.display = "none" +} + +const handleLiveComment = async (comment, username) => { + isThinking = true; + visibleAIResponse(); + startTyping({ + el: "#aiResponseUtterance", + string: "Thinking................", + speed: 50 + }); + let userCommentElement = document.querySelector("#userComment"); + userCommentElement.textContent = username + ": " + comment; + const response = await getMeboResponse(comment, username, LIVE_OWNER_ID, MEBO_API_KEY, MEBO_AGENT_ID); + isThinking = false; + if (username == "") { + await playVoice(response, true, response, false); + } else { + await playVoice(username + "さん、" + response, true, response, false); + } + startTyping({ + el: "#aiResponseUtterance", + string: response, + speed: 50 + }); +} + +const retrieveYouTubeLiveComments = (activeLiveChatId) => { + var url = "https://youtube.googleapis.com/youtube/v3/liveChat/messages?liveChatId=" + activeLiveChatId + '&part=authorDetails%2Csnippet&key=' + YOUTUBE_DATA_API_KEY + if (nextPageToken !== "") { + url = url + "&pageToken=" + nextPageToken + } + fetch(url, { + method: 'get', + headers: { + 'Content-Type': 'application/json' + } + }).then( + (response) => { + return response.json(); + } + ).then( + (json) => { + const items = json.items; + let index = 0 + nextPageToken = json.nextPageToken; + items?.forEach( + (item) => { + try { + const username = item.authorDetails.displayName; + let message = "" + if (item.snippet.textMessageDetails != undefined) { + // 一般コメント + message = item.snippet.textMessageDetails.messageText; + } + if (item.snippet.superChatDetails != undefined) { + // スパチャコメント + message = item.snippet.superChatDetails.userComment; + } + // :::で区切っているが、適宜オブジェクトで格納するように変更する。 + const additionalComment = username + ":::" + message; + if (!liveCommentQueues.includes(additionalComment) && message != "") { + let isNg = false + ngwords.forEach( + (ngWord) => { + if (additionalComment.includes(ngWord)) { + isNg = true + } + } + ) + if (!isNg) { + if (isLiveCommentsRetrieveStarted) { + liveCommentQueues.push(additionalComment) + } else { + responsedLiveComments.push(additionalComment); + } + } + } + } catch { + // Do Nothing + } + index = index + 1 + } + ) + } + ).finally( + () => { + setTimeout(retrieveYouTubeLiveComments, INTERVAL_MILL_SECONDS_RETRIEVING_COMMENTS, activeLiveChatId); + } + ) +} + +const getNextComment = () => { + let nextComment = "" + let nextRaw = "" + for (let index in liveCommentQueues) { + if (!responsedLiveComments.includes(liveCommentQueues[index])) { + const arr = liveCommentQueues[index].split(":::") + if (arr.length > 1) { + nextComment = arr[0] + "さんから、「" + arr[1] + "」というコメントが届いているよ。" + nextRaw = arr[1] + break; + } + } + } + return [nextComment, nextRaw]; +} + +const handleNewLiveCommentIfNeeded = async () => { + if (liveCommentQueues.length == 0) { + // QUEUEがなければ何もしない + setTimeout(handleNewLiveCommentIfNeeded, INTERVAL_MILL_SECONDS_HANDLING_COMMENTS); + return; + } + + if (isThinking) { + // VTuberが応答を考えているときは新規コメントを捌かない + setTimeout(handleNewLiveCommentIfNeeded, INTERVAL_MILL_SECONDS_HANDLING_COMMENTS); + return; + } + + if (!audio.ended) { + // VTuberが声を発しているときは新規コメントを捌かない + setTimeout(handleNewLiveCommentIfNeeded, INTERVAL_MILL_SECONDS_HANDLING_COMMENTS); + return; + } + + for (let index in liveCommentQueues) { + if (!responsedLiveComments.includes(liveCommentQueues[index])) { + const arr = liveCommentQueues[index].split(":::") + if (arr.length > 1) { + responsedLiveComments.push(liveCommentQueues[index]); + isThinking = true; + await handleLiveComment(arr[1], arr[0]); + break; + } + } + } + setTimeout(handleNewLiveCommentIfNeeded, 5000); +} + +const onClickSend = () => { + let utterance = document.querySelector("#utterance"); + handleLiveComment(utterance.value, '匿名'); + utterance.value = ""; +} + +// LIVEを開始する +const startLive = () => { + // 明示的にボタンをクリックする等しなければ、音声が再生できない。そのためLIVE開始ボタンを下記のIDで設置する。 + let startLiveButton = document.querySelector("#startLiveButton"); + startLiveButton.style.display = "none"; + let submitForm = document.querySelector("#submit_form"); + submitForm.style.display = "none"; + getLiveChatId().then( + (id) => { + retrieveYouTubeLiveComments(id); + } + ) + //LIVE開始時は空文字を送信することで、meboで設定した初回メッセージが返される。 + handleLiveComment('', ''); + blink(); +} + +const img = ["chara.png", "chara_blinking.png"]; +var isBlinking = false; + +function blink() { + if (isBlinking) { + isBlinking = false; + document.getElementById("charaImg").src = img[1]; + setTimeout(blink, 100); + } else { + isBlinking = true; + document.getElementById("charaImg").src = img[0]; + setTimeout(blink, 3500); + } +} + +function createUuid() { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (a) { + let r = (new Date().getTime() + Math.random() * 16) % 16 | 0, v = a == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); +} \ No newline at end of file diff --git a/staticfiles/audio.wav b/staticfiles/audio.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio.wav differ diff --git a/staticfiles/audio_20240707054402.wav b/staticfiles/audio_20240707054402.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio_20240707054402.wav differ diff --git a/staticfiles/audio_20240707054625.wav b/staticfiles/audio_20240707054625.wav new file mode 100644 index 0000000000000000000000000000000000000000..71b2e6c2281e54df2e830dfa1c0ae92b4fd3ea5b Binary files /dev/null and b/staticfiles/audio_20240707054625.wav differ diff --git a/staticfiles/audio_20240707055152.wav b/staticfiles/audio_20240707055152.wav new file mode 100644 index 0000000000000000000000000000000000000000..71b2e6c2281e54df2e830dfa1c0ae92b4fd3ea5b Binary files /dev/null and b/staticfiles/audio_20240707055152.wav differ diff --git a/staticfiles/audio_20240707055236.wav b/staticfiles/audio_20240707055236.wav new file mode 100644 index 0000000000000000000000000000000000000000..71b2e6c2281e54df2e830dfa1c0ae92b4fd3ea5b Binary files /dev/null and b/staticfiles/audio_20240707055236.wav differ diff --git a/staticfiles/audio_20240707055500.wav b/staticfiles/audio_20240707055500.wav new file mode 100644 index 0000000000000000000000000000000000000000..71b2e6c2281e54df2e830dfa1c0ae92b4fd3ea5b Binary files /dev/null and b/staticfiles/audio_20240707055500.wav differ diff --git a/staticfiles/audio_20240707055614.wav b/staticfiles/audio_20240707055614.wav new file mode 100644 index 0000000000000000000000000000000000000000..12110d89223637306b43e858bc4ea95c2ecb790a Binary files /dev/null and b/staticfiles/audio_20240707055614.wav differ diff --git a/staticfiles/audio_20240707063750.wav b/staticfiles/audio_20240707063750.wav new file mode 100644 index 0000000000000000000000000000000000000000..0aaccf11cc09342f65dd525c88d11a994d2b55cf Binary files /dev/null and b/staticfiles/audio_20240707063750.wav differ diff --git a/staticfiles/audio_20240707064224.wav b/staticfiles/audio_20240707064224.wav new file mode 100644 index 0000000000000000000000000000000000000000..0aaccf11cc09342f65dd525c88d11a994d2b55cf Binary files /dev/null and b/staticfiles/audio_20240707064224.wav differ diff --git a/staticfiles/audio_20240707064601.wav b/staticfiles/audio_20240707064601.wav new file mode 100644 index 0000000000000000000000000000000000000000..0aaccf11cc09342f65dd525c88d11a994d2b55cf Binary files /dev/null and b/staticfiles/audio_20240707064601.wav differ diff --git a/staticfiles/audio_20240707064950.wav b/staticfiles/audio_20240707064950.wav new file mode 100644 index 0000000000000000000000000000000000000000..0aaccf11cc09342f65dd525c88d11a994d2b55cf Binary files /dev/null and b/staticfiles/audio_20240707064950.wav differ diff --git a/staticfiles/audio_20240707065059.wav b/staticfiles/audio_20240707065059.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio_20240707065059.wav differ diff --git a/staticfiles/audio_20240707065309.wav b/staticfiles/audio_20240707065309.wav new file mode 100644 index 0000000000000000000000000000000000000000..0ca95c8bedabe1a5c8bef5e858dea918776d3c39 Binary files /dev/null and b/staticfiles/audio_20240707065309.wav differ diff --git a/staticfiles/audio_20240707065327.wav b/staticfiles/audio_20240707065327.wav new file mode 100644 index 0000000000000000000000000000000000000000..507d4e6bee3bb92887e829ddef22a641e6e70cb3 Binary files /dev/null and b/staticfiles/audio_20240707065327.wav differ diff --git a/staticfiles/audio_20240707065346.wav b/staticfiles/audio_20240707065346.wav new file mode 100644 index 0000000000000000000000000000000000000000..b7e7b9656c83db112454459f11de7b6d6d81e52f Binary files /dev/null and b/staticfiles/audio_20240707065346.wav differ diff --git a/staticfiles/audio_20240707065415.wav b/staticfiles/audio_20240707065415.wav new file mode 100644 index 0000000000000000000000000000000000000000..2865eeb2990273e5070e03d412c6500352e0ee34 Binary files /dev/null and b/staticfiles/audio_20240707065415.wav differ diff --git a/staticfiles/audio_20240707065433.wav b/staticfiles/audio_20240707065433.wav new file mode 100644 index 0000000000000000000000000000000000000000..71e384a89ae4716dda52feb545e4423fe14679c1 Binary files /dev/null and b/staticfiles/audio_20240707065433.wav differ diff --git a/staticfiles/audio_20240707065710.wav b/staticfiles/audio_20240707065710.wav new file mode 100644 index 0000000000000000000000000000000000000000..9bae34bfe3deaca953b994dced7178595dd0c4e3 Binary files /dev/null and b/staticfiles/audio_20240707065710.wav differ diff --git a/staticfiles/audio_20240707070432.wav b/staticfiles/audio_20240707070432.wav new file mode 100644 index 0000000000000000000000000000000000000000..28ff3bc9756c241df30e4d2dc88e23722167120c Binary files /dev/null and b/staticfiles/audio_20240707070432.wav differ diff --git a/staticfiles/audio_20240707070845.wav b/staticfiles/audio_20240707070845.wav new file mode 100644 index 0000000000000000000000000000000000000000..fd0b1130e1aa6a6b85507a48cb367a642d7033e7 Binary files /dev/null and b/staticfiles/audio_20240707070845.wav differ diff --git a/staticfiles/audio_20240707085417.wav b/staticfiles/audio_20240707085417.wav new file mode 100644 index 0000000000000000000000000000000000000000..71e384a89ae4716dda52feb545e4423fe14679c1 Binary files /dev/null and b/staticfiles/audio_20240707085417.wav differ diff --git a/staticfiles/audio_20240707085529.wav b/staticfiles/audio_20240707085529.wav new file mode 100644 index 0000000000000000000000000000000000000000..28ff3bc9756c241df30e4d2dc88e23722167120c Binary files /dev/null and b/staticfiles/audio_20240707085529.wav differ diff --git a/staticfiles/audio_20240707085845.wav b/staticfiles/audio_20240707085845.wav new file mode 100644 index 0000000000000000000000000000000000000000..28ff3bc9756c241df30e4d2dc88e23722167120c Binary files /dev/null and b/staticfiles/audio_20240707085845.wav differ diff --git a/staticfiles/audio_20240707090100.wav b/staticfiles/audio_20240707090100.wav new file mode 100644 index 0000000000000000000000000000000000000000..28ff3bc9756c241df30e4d2dc88e23722167120c Binary files /dev/null and b/staticfiles/audio_20240707090100.wav differ diff --git a/staticfiles/audio_20240707090530.wav b/staticfiles/audio_20240707090530.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio_20240707090530.wav differ diff --git a/staticfiles/audio_20240707091915.wav b/staticfiles/audio_20240707091915.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio_20240707091915.wav differ diff --git a/staticfiles/audio_20240707091936.wav b/staticfiles/audio_20240707091936.wav new file mode 100644 index 0000000000000000000000000000000000000000..39b726e30c534af4e6828d5817788460f9ef3080 Binary files /dev/null and b/staticfiles/audio_20240707091936.wav differ diff --git a/staticfiles/audio_20240707134620.wav b/staticfiles/audio_20240707134620.wav new file mode 100644 index 0000000000000000000000000000000000000000..4423789df171540a06ac4cfbf5b7744d0d1f33e2 Binary files /dev/null and b/staticfiles/audio_20240707134620.wav differ diff --git a/staticfiles/audio_20240710134819.wav b/staticfiles/audio_20240710134819.wav new file mode 100644 index 0000000000000000000000000000000000000000..71e384a89ae4716dda52feb545e4423fe14679c1 Binary files /dev/null and b/staticfiles/audio_20240710134819.wav differ diff --git a/staticfiles/audio_20240710135503.wav b/staticfiles/audio_20240710135503.wav new file mode 100644 index 0000000000000000000000000000000000000000..da0905daa868dff1cd095a9809e54b64bb2786e2 Binary files /dev/null and b/staticfiles/audio_20240710135503.wav differ diff --git a/staticfiles/audio_20240711150046.wav b/staticfiles/audio_20240711150046.wav new file mode 100644 index 0000000000000000000000000000000000000000..e48d380d447a3c422ea77d9cdcdc74f035c1aad4 Binary files /dev/null and b/staticfiles/audio_20240711150046.wav differ diff --git a/staticfiles/audio_20240714150518.wav b/staticfiles/audio_20240714150518.wav new file mode 100644 index 0000000000000000000000000000000000000000..4c8594cc17b2c0c83fb82c9f406009d10d6686fc Binary files /dev/null and b/staticfiles/audio_20240714150518.wav differ diff --git a/staticfiles/audio_20240714152144.wav b/staticfiles/audio_20240714152144.wav new file mode 100644 index 0000000000000000000000000000000000000000..4c8594cc17b2c0c83fb82c9f406009d10d6686fc Binary files /dev/null and b/staticfiles/audio_20240714152144.wav differ diff --git a/staticfiles/audio_20240714152254.wav b/staticfiles/audio_20240714152254.wav new file mode 100644 index 0000000000000000000000000000000000000000..ae194a02cd4066d43e5cfdf4be3681311ab43f1d Binary files /dev/null and b/staticfiles/audio_20240714152254.wav differ diff --git a/staticfiles/audio_20240718021444.wav b/staticfiles/audio_20240718021444.wav new file mode 100644 index 0000000000000000000000000000000000000000..e22edb21b07747fbccca82278a00b82a3c372457 Binary files /dev/null and b/staticfiles/audio_20240718021444.wav differ diff --git a/staticfiles/audio_20240718022629.wav b/staticfiles/audio_20240718022629.wav new file mode 100644 index 0000000000000000000000000000000000000000..9695e807bd068a158cfb4c4db5fe177acba1223b Binary files /dev/null and b/staticfiles/audio_20240718022629.wav differ diff --git a/staticfiles/audio_20240718024326.wav b/staticfiles/audio_20240718024326.wav new file mode 100644 index 0000000000000000000000000000000000000000..bd94c626f72b1d3fc0a7621c497fece49c1dbba1 Binary files /dev/null and b/staticfiles/audio_20240718024326.wav differ diff --git a/staticfiles/audio_20240718024503.wav b/staticfiles/audio_20240718024503.wav new file mode 100644 index 0000000000000000000000000000000000000000..0d7245af43d1e52dd5d5ac1934b1f7be83fc4ede Binary files /dev/null and b/staticfiles/audio_20240718024503.wav differ diff --git a/staticfiles/audio_20240718025031.wav b/staticfiles/audio_20240718025031.wav new file mode 100644 index 0000000000000000000000000000000000000000..71e384a89ae4716dda52feb545e4423fe14679c1 Binary files /dev/null and b/staticfiles/audio_20240718025031.wav differ diff --git a/staticfiles/audio_20240718025442.wav b/staticfiles/audio_20240718025442.wav new file mode 100644 index 0000000000000000000000000000000000000000..5c4bf464571fd0f34e0c526a065e11ae69a4fe93 Binary files /dev/null and b/staticfiles/audio_20240718025442.wav differ diff --git a/staticfiles/audio_20240718025545.wav b/staticfiles/audio_20240718025545.wav new file mode 100644 index 0000000000000000000000000000000000000000..bae924fea0444bceac5163a50d9ebbe8284098f5 Binary files /dev/null and b/staticfiles/audio_20240718025545.wav differ diff --git a/staticfiles/background.png b/staticfiles/background.png new file mode 100644 index 0000000000000000000000000000000000000000..2734d94e7f7cb3309120eb5ac00d082812d029da --- /dev/null +++ b/staticfiles/background.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a99ae2c27f181649e7a48739210d11646b8d9008603d6803a70a131732bd4e4c +size 1500965 diff --git a/staticfiles/chara.png b/staticfiles/chara.png new file mode 100644 index 0000000000000000000000000000000000000000..2734d94e7f7cb3309120eb5ac00d082812d029da --- /dev/null +++ b/staticfiles/chara.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a99ae2c27f181649e7a48739210d11646b8d9008603d6803a70a131732bd4e4c +size 1500965 diff --git a/staticfiles/chara_blinking.png b/staticfiles/chara_blinking.png new file mode 100644 index 0000000000000000000000000000000000000000..8c0dd615d164d05b85d5c1674ad8bcb8b9810ff2 --- /dev/null +++ b/staticfiles/chara_blinking.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bb3c3f5a3a394ebd7e5610098d2add2d95f6fe19d0492464941b2f9e854a65e +size 1490970 diff --git a/staticfiles/index.html b/staticfiles/index.html index aa42524fb4b1534c3dbdbc3e49158627883fb6aa..b2949cf5b79c57bd6181abc2ad173e5704e63498 100644 --- a/staticfiles/index.html +++ b/staticfiles/index.html @@ -1 +1,29 @@ -ssssssssssssssssssssssssss \ No newline at end of file + + + + + + + Sample Chat AI VTuber + + + + + +
+ +
+
+

+
+
+

+ +
+ + +
+
+ + + \ No newline at end of file diff --git a/staticfiles/publish_agent.png b/staticfiles/publish_agent.png new file mode 100644 index 0000000000000000000000000000000000000000..fcab468b9f340153ea43012c9f30e29d666b8b73 --- /dev/null +++ b/staticfiles/publish_agent.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c01cf0625dbf5fe2fb3675f5d3c3b31f387c891ddf9901d7d8b1db1a1b3a622e +size 53305 diff --git a/test2.txt b/test2.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/test4.txt b/test4.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/testd.txt b/testd.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tests.txt b/tests.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/text.txt b/text.txt new file mode 100644 index 0000000000000000000000000000000000000000..65f83dc7beaf312b708358cf04c6943e73ee825d --- /dev/null +++ b/text.txt @@ -0,0 +1 @@ +ダイヤの見積もりお願いします。 \ No newline at end of file diff --git a/workspace/appraisal/__init__.py b/workspace/appraisal/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/appraisal/admin.py b/workspace/appraisal/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/appraisal/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/appraisal/apps.py b/workspace/appraisal/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..2a174fcfa4b1b30128912eeec591022e3b75694d --- /dev/null +++ b/workspace/appraisal/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class AppraisalConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'appraisal' diff --git a/workspace/appraisal/migrations/__init__.py b/workspace/appraisal/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/appraisal/models.py b/workspace/appraisal/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/appraisal/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/appraisal/tests.py b/workspace/appraisal/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/appraisal/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/appraisal/views.py b/workspace/appraisal/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/appraisal/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/buysystem/buysystem/__init__.py b/workspace/buysystem/buysystem/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/buysystem/buysystem/asgi.py b/workspace/buysystem/buysystem/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..29fd51779089b1f3262b9d04d4b206c628aa90e6 --- /dev/null +++ b/workspace/buysystem/buysystem/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for buysystem 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', 'buysystem.settings') + +application = get_asgi_application() diff --git a/workspace/buysystem/buysystem/settings.py b/workspace/buysystem/buysystem/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..994ba8c2b76d44829144905b22f54ecf573fcc32 --- /dev/null +++ b/workspace/buysystem/buysystem/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for buysystem 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-w&_ve_ax*9b7^f3vms=$lg)n=yu_pgil8u%c&@#$ixs!^fi3+y' + +# 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 = 'buysystem.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 = 'buysystem.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/buysystem/buysystem/urls.py b/workspace/buysystem/buysystem/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..ed7d3c8a6d1db3cebcc9628b73863c065bc7d72d --- /dev/null +++ b/workspace/buysystem/buysystem/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for buysystem 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/buysystem/buysystem/wsgi.py b/workspace/buysystem/buysystem/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..faf4238389f3f592cce7ae11b697c1ca9c66c416 --- /dev/null +++ b/workspace/buysystem/buysystem/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for buysystem 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', 'buysystem.settings') + +application = get_wsgi_application() diff --git a/workspace/buysystem/buysystem_app/__init__.py b/workspace/buysystem/buysystem_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/buysystem/buysystem_app/admin.py b/workspace/buysystem/buysystem_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/buysystem/buysystem_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/buysystem/buysystem_app/apps.py b/workspace/buysystem/buysystem_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..06db73358be583ec538955746903614c5b162c34 --- /dev/null +++ b/workspace/buysystem/buysystem_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class BuysystemAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'buysystem_app' diff --git a/workspace/buysystem/buysystem_app/migrations/__init__.py b/workspace/buysystem/buysystem_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/buysystem/buysystem_app/models.py b/workspace/buysystem/buysystem_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/buysystem/buysystem_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/buysystem/buysystem_app/tests.py b/workspace/buysystem/buysystem_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/buysystem/buysystem_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/buysystem/buysystem_app/views.py b/workspace/buysystem/buysystem_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/buysystem/buysystem_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/buysystem/manage.py b/workspace/buysystem/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..670767ba2754c08d657e5533ce1cfa3efd0a5596 --- /dev/null +++ b/workspace/buysystem/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', 'buysystem.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/customer_support/__init__.py b/workspace/customer_support/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/customer_support/admin.py b/workspace/customer_support/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/customer_support/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/customer_support/apps.py b/workspace/customer_support/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..ae5106b9dedbb44b799bd4c0830b4a9fff2b7c68 --- /dev/null +++ b/workspace/customer_support/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CustomerSupportConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'customer_support' diff --git a/workspace/customer_support/migrations/__init__.py b/workspace/customer_support/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/customer_support/models.py b/workspace/customer_support/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/customer_support/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/customer_support/tests.py b/workspace/customer_support/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/customer_support/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/customer_support/views.py b/workspace/customer_support/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/customer_support/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/diamond_project/diamond_app/__init__.py b/workspace/diamond_project/diamond_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/diamond_app/admin.py b/workspace/diamond_project/diamond_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/diamond_project/diamond_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/diamond_project/diamond_app/apps.py b/workspace/diamond_project/diamond_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..f0d0c60cfcbef04f75b954f150a9c912e3da74d7 --- /dev/null +++ b/workspace/diamond_project/diamond_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class DiamondAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'diamond_app' diff --git a/workspace/diamond_project/diamond_app/migrations/__init__.py b/workspace/diamond_project/diamond_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/diamond_app/models.py b/workspace/diamond_project/diamond_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/diamond_project/diamond_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/diamond_project/diamond_app/tests.py b/workspace/diamond_project/diamond_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/diamond_project/diamond_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/diamond_project/diamond_app/views.py b/workspace/diamond_project/diamond_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/diamond_project/diamond_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/diamond_project/diamond_project/__init__.py b/workspace/diamond_project/diamond_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/diamond_project/asgi.py b/workspace/diamond_project/diamond_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..198fa6e5e32fb1402f88256aa0e56b0dd8c73cc1 --- /dev/null +++ b/workspace/diamond_project/diamond_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for diamond_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', 'diamond_project.settings') + +application = get_asgi_application() diff --git a/workspace/diamond_project/diamond_project/settings.py b/workspace/diamond_project/diamond_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..39d1ea6e263262e6342c43ad879885c9e496bd13 --- /dev/null +++ b/workspace/diamond_project/diamond_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for diamond_project project. + +Generated by 'django-admin startproject' using Django 5.0.6. + +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-yo!5d%1bq=esq!r54i08=g9j0#+r8f)041ygxqqj3=h9jfs#oc' + +# 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 = 'diamond_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 = 'diamond_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/diamond_project/diamond_project/urls.py b/workspace/diamond_project/diamond_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..a632ba4fc15f8d07f59f30ae562d399e20ea1d02 --- /dev/null +++ b/workspace/diamond_project/diamond_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for diamond_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/diamond_project/diamond_project/wsgi.py b/workspace/diamond_project/diamond_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a41214ceadfc1b187790c6db5b95cc8c90ad6fe7 --- /dev/null +++ b/workspace/diamond_project/diamond_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for diamond_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', 'diamond_project.settings') + +application = get_wsgi_application() diff --git a/workspace/diamond_project/manage.py b/workspace/diamond_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8f9541a25da02d63950f1153766e06e51d0b179f --- /dev/null +++ b/workspace/diamond_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', 'diamond_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/diamond_project/workspace/django_project/django_project/__init__.py b/workspace/diamond_project/workspace/django_project/django_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/workspace/django_project/django_project/asgi.py b/workspace/diamond_project/workspace/django_project/django_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..2be91e5f510d0728646701f3b0502ccbe1afbd1e --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/django_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for django_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', 'django_project.settings') + +application = get_asgi_application() diff --git a/workspace/diamond_project/workspace/django_project/django_project/settings.py b/workspace/diamond_project/workspace/django_project/django_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..e2e211c9837ad74292c13608f92ea706e3c42e82 --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/django_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for django_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-4q_lp)&zj9r@%yo3)#=a1_9)fd)#f$3-59vbns4z#3(-1uux&e' + +# 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 = 'django_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 = 'django_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/diamond_project/workspace/django_project/django_project/urls.py b/workspace/diamond_project/workspace/django_project/django_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..fed303984ae13faf91e815b2d7549deedf70a98e --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/django_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for django_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/diamond_project/workspace/django_project/django_project/wsgi.py b/workspace/diamond_project/workspace/django_project/django_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e7493da9e05ee6872351b987c697058858936615 --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/django_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for django_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', 'django_project.settings') + +application = get_wsgi_application() diff --git a/workspace/diamond_project/workspace/django_project/manage.py b/workspace/diamond_project/workspace/django_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..5ffd8de1e82ce535826af1e7474bb198874a20df --- /dev/null +++ b/workspace/diamond_project/workspace/django_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', 'django_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/diamond_project/workspace/django_project/myapp/__init__.py b/workspace/diamond_project/workspace/django_project/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/workspace/django_project/myapp/admin.py b/workspace/diamond_project/workspace/django_project/myapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/myapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/diamond_project/workspace/django_project/myapp/apps.py b/workspace/diamond_project/workspace/django_project/myapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c34fb20eb6a166110a0fb57a95512f57e55f38e7 --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/myapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp' diff --git a/workspace/diamond_project/workspace/django_project/myapp/migrations/__init__.py b/workspace/diamond_project/workspace/django_project/myapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/diamond_project/workspace/django_project/myapp/models.py b/workspace/diamond_project/workspace/django_project/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/myapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/diamond_project/workspace/django_project/myapp/tests.py b/workspace/diamond_project/workspace/django_project/myapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/myapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/diamond_project/workspace/django_project/myapp/views.py b/workspace/diamond_project/workspace/django_project/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/diamond_project/workspace/django_project/myapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/estimate/__init__.py b/workspace/estimate/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/estimate/admin.py b/workspace/estimate/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/estimate/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/estimate/apps.py b/workspace/estimate/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..376f2144cb8b43f37778dfbf5a55b3f97a6aefb0 --- /dev/null +++ b/workspace/estimate/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class EstimateConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'estimate' diff --git a/workspace/estimate/migrations/__init__.py b/workspace/estimate/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/estimate/models.py b/workspace/estimate/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/estimate/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/estimate/tests.py b/workspace/estimate/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/estimate/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/estimate/views.py b/workspace/estimate/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/estimate/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/gold/__init__.py b/workspace/gold/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold/admin.py b/workspace/gold/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/gold/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/gold/apps.py b/workspace/gold/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c23b33dfec845059e66f9ffdd228e8858dcc705c --- /dev/null +++ b/workspace/gold/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold' diff --git a/workspace/gold/migrations/__init__.py b/workspace/gold/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold/models.py b/workspace/gold/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/gold/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/gold/tests.py b/workspace/gold/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/gold/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/gold/views.py b/workspace/gold/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/gold/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. 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/goldprices/__init__.py b/workspace/goldprices/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/goldprices/admin.py b/workspace/goldprices/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/goldprices/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/goldprices/apps.py b/workspace/goldprices/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..61e21af49aa174e70a77ab78ea1385cf4ba4bd0a --- /dev/null +++ b/workspace/goldprices/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldpricesConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'goldprices' diff --git a/workspace/goldprices/migrations/__init__.py b/workspace/goldprices/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/goldprices/models.py b/workspace/goldprices/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/goldprices/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/goldprices/tests.py b/workspace/goldprices/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/goldprices/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/goldprices/views.py b/workspace/goldprices/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/goldprices/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/hello.py b/workspace/hello.py index 4648e701849ee7d52fb685111a7f0e4323505a35..7df869a15e76c28afb609fa4dbc059144ad70161 100644 --- a/workspace/hello.py +++ b/workspace/hello.py @@ -1 +1 @@ -print("Hello, World!") \ No newline at end of file +print("Hello, World!") diff --git a/workspace/hello.txt b/workspace/hello.txt new file mode 100644 index 0000000000000000000000000000000000000000..b45ef6fec89518d314f546fd6c3025367b721684 --- /dev/null +++ b/workspace/hello.txt @@ -0,0 +1 @@ +Hello, World! \ No newline at end of file diff --git a/workspace/main.py b/workspace/main.py index 7f96123827352feb9092adbcd295a959ca9a92d5..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/workspace/main.py +++ b/workspace/main.py @@ -1,7 +0,0 @@ -from fastapi import FastAPI, APIRouter - -router = APIRouter() - -@router.get("/") -def read_root(): - return {"message": "Welcome to this fantastic app!"} diff --git a/workspace/main_project/main_app/__init__.py b/workspace/main_project/main_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/main_project/main_app/admin.py b/workspace/main_project/main_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/main_project/main_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/main_project/main_app/apps.py b/workspace/main_project/main_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b55b3f6bab9d5de0c17530d0fb7062ff0947df59 --- /dev/null +++ b/workspace/main_project/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/workspace/main_project/main_app/migrations/__init__.py b/workspace/main_project/main_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/main_project/main_app/models.py b/workspace/main_project/main_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/main_project/main_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/main_project/main_app/tests.py b/workspace/main_project/main_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/main_project/main_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/main_project/main_app/views.py b/workspace/main_project/main_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/main_project/main_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/main_project/main_project/__init__.py b/workspace/main_project/main_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/main_project/main_project/asgi.py b/workspace/main_project/main_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d60485c203fbdfa86747d2b0c6f8d4dc69081959 --- /dev/null +++ b/workspace/main_project/main_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for main_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', 'main_project.settings') + +application = get_asgi_application() diff --git a/workspace/main_project/main_project/settings.py b/workspace/main_project/main_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..04f9f812a2a40ead8ebe10f0202d0cf697021eeb --- /dev/null +++ b/workspace/main_project/main_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for main_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-(*6um2)z@klkgnvm#w7a&idlfee^=#-tm56+d4wedl1@5hf+hv' + +# 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 = 'main_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 = 'main_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/main_project/main_project/urls.py b/workspace/main_project/main_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..c4a81784cae5a988b498af31f88402f79195d987 --- /dev/null +++ b/workspace/main_project/main_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for main_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/main_project/main_project/wsgi.py b/workspace/main_project/main_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..1ca3949675054d39961cc436c466d6fd3574fd93 --- /dev/null +++ b/workspace/main_project/main_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for main_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', 'main_project.settings') + +application = get_wsgi_application() diff --git a/workspace/main_project/manage.py b/workspace/main_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..afd92c201a3dc703b610a172a6776ab46c097d54 --- /dev/null +++ b/workspace/main_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', 'main_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/my_app/__init__.py b/workspace/my_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/my_app/admin.py b/workspace/my_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/my_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/my_app/apps.py b/workspace/my_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e360eca64e3dff54944f5bec76494b47bf2adf00 --- /dev/null +++ b/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/workspace/my_app/migrations/__init__.py b/workspace/my_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/my_app/models.py b/workspace/my_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/my_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/my_app/tests.py b/workspace/my_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/my_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/my_app/views.py b/workspace/my_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/my_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myapp/apps.py b/workspace/myapp/apps.py index c34fb20eb6a166110a0fb57a95512f57e55f38e7..40732da28d12583442ee22ad9943412bec2b1946 100644 --- a/workspace/myapp/apps.py +++ b/workspace/myapp/apps.py @@ -1,6 +1,5 @@ from django.apps import AppConfig - -class MyappConfig(AppConfig): - default_auto_field = 'django.db.models.BigAutoField' +class MyAppConfig(AppConfig): name = 'myapp' + verbose_name = 'My App' diff --git a/workspace/myapp/asgi.py b/workspace/myapp/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..ea92f7e9fa3508b78afcf3760e2105f38c2cb4b3 --- /dev/null +++ b/workspace/myapp/asgi.py @@ -0,0 +1,7 @@ + +import os +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myapp.settings') + +application = get_asgi_application() diff --git a/workspace/myapp/routes/api.py b/workspace/myapp/routes/api.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myapp/settings.py b/workspace/myapp/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..02014dea2620cd81e8b82ec6d035582b649f32c5 --- /dev/null +++ b/workspace/myapp/settings.py @@ -0,0 +1,6 @@ + +INSTALLED_APPS = [ + 'myapp', +] + +WSGI_APPLICATION = 'myapp.asgi.application' diff --git a/workspace/myapp/urls.py b/workspace/myapp/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..fd9562f9c8699feac4b43f45bc43aedeaf34932c --- /dev/null +++ b/workspace/myapp/urls.py @@ -0,0 +1,7 @@ + +from django.urls import path +from . import views + +urlpatterns = [ + path('', views.index, name='index'), +] diff --git a/workspace/myapp/views.py b/workspace/myapp/views.py index 91ea44a218fbd2f408430959283f0419c921093e..ceb73174b4bbddb64fb70005a69ba0813052cc4b 100644 --- a/workspace/myapp/views.py +++ b/workspace/myapp/views.py @@ -1,3 +1,5 @@ -from django.shortcuts import render -# Create your views here. +from django.http import HttpResponse + +def index(request): + return HttpResponse('Hello, World!') diff --git a/workspace/myproject/workspace/manage.py b/workspace/myproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..f7b9b3fb26e4cc793c9ad61b86ff8e98fc620ae1 --- /dev/null +++ b/workspace/myproject/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', 'myproject_new.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/myproject/workspace/myapp_new/__init__.py b/workspace/myproject/workspace/myapp_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myapp_new/admin.py b/workspace/myproject/workspace/myapp_new/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myapp_new/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myapp_new/apps.py b/workspace/myproject/workspace/myapp_new/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9b4cc8d6b28950173a6ea8734ffa889132c18eb9 --- /dev/null +++ b/workspace/myproject/workspace/myapp_new/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappNewConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp_new' diff --git a/workspace/myproject/workspace/myapp_new/migrations/__init__.py b/workspace/myproject/workspace/myapp_new/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myapp_new/models.py b/workspace/myproject/workspace/myapp_new/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myapp_new/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myapp_new/tests.py b/workspace/myproject/workspace/myapp_new/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myapp_new/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myapp_new/views.py b/workspace/myproject/workspace/myapp_new/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myapp_new/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/mydjango/__init__.py b/workspace/myproject/workspace/mydjango/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/mydjango/admin.py b/workspace/myproject/workspace/mydjango/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/mydjango/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/mydjango/apps.py b/workspace/myproject/workspace/mydjango/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e6cb388248e77858e29eb68e8130b5df6f3ab4e7 --- /dev/null +++ b/workspace/myproject/workspace/mydjango/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjango' diff --git a/workspace/myproject/workspace/mydjango/migrations/__init__.py b/workspace/myproject/workspace/mydjango/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/mydjango/models.py b/workspace/myproject/workspace/mydjango/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/mydjango/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/mydjango/tests.py b/workspace/myproject/workspace/mydjango/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/mydjango/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/mydjango/views.py b/workspace/myproject/workspace/mydjango/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/mydjango/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/myapp/__init__.py b/workspace/myproject/workspace/myproject/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/myapp/admin.py b/workspace/myproject/workspace/myproject/myapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/myapp/apps.py b/workspace/myproject/workspace/myproject/myapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c34fb20eb6a166110a0fb57a95512f57e55f38e7 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp' diff --git a/workspace/myproject/workspace/myproject/myapp/migrations/__init__.py b/workspace/myproject/workspace/myproject/myapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/myapp/models.py b/workspace/myproject/workspace/myproject/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/myapp/tests.py b/workspace/myproject/workspace/myproject/myapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/myapp/views.py b/workspace/myproject/workspace/myproject/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/settings.py b/workspace/myproject/workspace/myproject/settings.py deleted file mode 100644 index 6ad59c0e5dcd1c24157313b1327d2036617bfdaa..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/settings.py +++ /dev/null @@ -1 +0,0 @@ -INSTALLED_APPS = [] \ No newline at end of file diff --git a/workspace/myproject/workspace/myproject/workspace/manage.py b/workspace/myproject/workspace/myproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a9b6f18aa8caa2311dd931b13caaf55c1d0451b6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/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', 'project001.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/myproject/workspace/myproject/workspace/myproject/mydjango/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjango/settings.py deleted file mode 100644 index 007e5157b1cfb0e9ab665bdd9a7f9dd10d7e6886..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/workspace/myproject/mydjango/settings.py +++ /dev/null @@ -1,5 +0,0 @@ -INSTALLED_APPS = [ - 'myapp', -] - -INSTALLED_APPS.append('myapp') diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/manage.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a5f886c16054f4457aa24079720631560d6cb6e9 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/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', 'mydjangoapp.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/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e6cb388248e77858e29eb68e8130b5df6f3ab4e7 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjango' diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/migrations/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..9af75bc83e1c6d70ec9649df4da2f7e5d49c31af --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for mydjangoapp 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', 'mydjangoapp.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..b6852055a09c89168b3b0fcb728047cce8eaad12 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for mydjangoapp 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-)5%d*^&c1t68t9gn!9zrrp5w%*jj+%74%c+r$6a#+(j!4ia@bu' + +# 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 = 'mydjangoapp.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 = 'mydjangoapp.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/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..906d7490da606104c1b48284394787a50292aa2c --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for mydjangoapp 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/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..34b17f77f98506186d68f76a4549c12fdb5a2044 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for mydjangoapp 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', 'mydjangoapp.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..52c11491e0d1823849783afa755164aa3a52c1bc --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_api 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_api.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..835a720d5312c80a1adda2b9d45331381f0ca019 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_api 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-k78^!vq%_&bzaa16ls(iy9q)_9zrcaqa@)i)odwee&h5&14*^9' + +# 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_api.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_api.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/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b5e0a15189dafea85dd8b5bab49992855774293d --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_api 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/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684b8bb371491918148fc2149c9e35c1e70a5147 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_api 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_api.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/manage.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..948b0122af62c1e88d04ed69c90f822411f6f643 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/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_api.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/myproject/workspace/myproject/workspace/myproject/myproject/asgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/myproject/asgi.py deleted file mode 100644 index bb6ccf49e889839cae6ab1b624c99cc3a7f76a89..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/asgi.py +++ /dev/null @@ -1,7 +0,0 @@ -import os -import django -from django.core.asgi import get_asgi_application - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings') -django.setup() -application = get_asgi_application() \ No newline at end of file diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/myproject/settings.py deleted file mode 100644 index a2fe583cd54412b5142fee204328f01064d6dbfb..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/settings.py +++ /dev/null @@ -1,15 +0,0 @@ -INSTALLED_APPS = [ - 'django.contrib.admin', - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.messages', - 'django.contrib.staticfiles', -] - -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': './mydatabase` - } -} \ No newline at end of file diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/urls.py b/workspace/myproject/workspace/myproject/workspace/myproject/myproject/urls.py deleted file mode 100644 index 86da7e5fcb09b4834a17b1c863e38aa465766f26..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/urls.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.urls import path - - urlpatterns = [] \ No newline at end of file diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/wsgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/myproject/wsgi.py deleted file mode 100644 index fc109b037ea0108d9385106c7b4b615cacd4b76d..0000000000000000000000000000000000000000 --- a/workspace/myproject/workspace/myproject/workspace/myproject/myproject/wsgi.py +++ /dev/null @@ -1,7 +0,0 @@ -import os - -from django.core.wsgi import get_wsgi_application - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings') - -application = get_wsgi_application() \ No newline at end of file diff --git a/workspace/myproject/workspace/myproject/workspace/project001/__init__.py b/workspace/myproject/workspace/myproject/workspace/project001/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/project001/asgi.py b/workspace/myproject/workspace/myproject/workspace/project001/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6124f0b79f7f043961a877760475782f18d8df9d --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project001 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', 'project001.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/__init__.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/admin.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/apps.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9c0484b390ee61b6e44d51d645890763ce0c3e0c --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class EstimateAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'estimate_app' diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/migrations/__init__.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/models.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/tests.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/views.py b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/estimate_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/workspace/project001/settings.py b/workspace/myproject/workspace/myproject/workspace/project001/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..e0b5f8aaab98a9581ad41c6c357034afe0946fd1 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for project001 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-)!3il*1pd%lg$utmwazji3-2vow1%jm21s(n0v_p60$a8^-%hq' + +# 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 = 'project001.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 = 'project001.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/myproject/workspace/myproject/workspace/project001/urls.py b/workspace/myproject/workspace/myproject/workspace/project001/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..391472aba124d4a7ee236c4260c5893f7bdff2e4 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for project001 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/myproject/workspace/myproject/workspace/project001/wsgi.py b/workspace/myproject/workspace/myproject/workspace/project001/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..33b1d4506dd3b794df312af834b3b66509f70c18 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/project001/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project001 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', 'project001.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/__init__.py b/workspace/myproject/workspace/myproject/workspace/refasta/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/admin.py b/workspace/myproject/workspace/myproject/workspace/refasta/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/apps.py b/workspace/myproject/workspace/myproject/workspace/refasta/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..52fdfecaad3a794ee9618540964e18bc88c48f98 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RefastaConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'refasta' diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/migrations/__init__.py b/workspace/myproject/workspace/myproject/workspace/refasta/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/models.py b/workspace/myproject/workspace/myproject/workspace/refasta/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/tests.py b/workspace/myproject/workspace/myproject/workspace/refasta/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/views.py b/workspace/myproject/workspace/myproject/workspace/refasta/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject_new/__init__.py b/workspace/myproject/workspace/myproject_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject_new/asgi.py b/workspace/myproject/workspace/myproject_new/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e51c92d2a9b0dea165675abb09e219179ec1157b --- /dev/null +++ b/workspace/myproject/workspace/myproject_new/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for myproject_new 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', 'myproject_new.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject_new/settings.py b/workspace/myproject/workspace/myproject_new/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..dff6d9f597c913731796b5c4baffbddf53e99d81 --- /dev/null +++ b/workspace/myproject/workspace/myproject_new/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for myproject_new 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-o9+ulft_ng6m%q#sjm1h)=y=9(udogyuxzauxbt*i)pst$0osl' + +# 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 = 'myproject_new.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 = 'myproject_new.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/myproject/workspace/myproject_new/urls.py b/workspace/myproject/workspace/myproject_new/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..43277b389ebb0001c5c4ff00d272ccd8083c5360 --- /dev/null +++ b/workspace/myproject/workspace/myproject_new/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for myproject_new 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/myproject/workspace/myproject_new/wsgi.py b/workspace/myproject/workspace/myproject_new/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..63b57d378a33ca5d2cb37e73c7f76067f8293825 --- /dev/null +++ b/workspace/myproject/workspace/myproject_new/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for myproject_new 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', 'myproject_new.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/workspace/main.py b/workspace/myproject/workspace/workspace/main.py new file mode 100644 index 0000000000000000000000000000000000000000..7a590ebe5cd5bdf847f9472153c92b3fc03c6acf --- /dev/null +++ b/workspace/myproject/workspace/workspace/main.py @@ -0,0 +1 @@ +from fastapi import FastAPI\napp = FastAPI() diff --git a/workspace/myproject/workspace/workspace/manage.py b/workspace/myproject/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..f7b9b3fb26e4cc793c9ad61b86ff8e98fc620ae1 --- /dev/null +++ b/workspace/myproject/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', 'myproject_new.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/myproject/workspace/workspace/myapp_new/__init__.py b/workspace/myproject/workspace/workspace/myapp_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/myapp_new/admin.py b/workspace/myproject/workspace/workspace/myapp_new/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/workspace/myapp_new/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/workspace/myapp_new/apps.py b/workspace/myproject/workspace/workspace/myapp_new/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9b4cc8d6b28950173a6ea8734ffa889132c18eb9 --- /dev/null +++ b/workspace/myproject/workspace/workspace/myapp_new/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappNewConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp_new' diff --git a/workspace/myproject/workspace/workspace/myapp_new/migrations/__init__.py b/workspace/myproject/workspace/workspace/myapp_new/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/myapp_new/models.py b/workspace/myproject/workspace/workspace/myapp_new/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/workspace/myapp_new/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/workspace/myapp_new/tests.py b/workspace/myproject/workspace/workspace/myapp_new/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/workspace/myapp_new/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/workspace/myapp_new/views.py b/workspace/myproject/workspace/workspace/myapp_new/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/workspace/myapp_new/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/workspace/myproject_new/__init__.py b/workspace/myproject/workspace/workspace/myproject_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/myproject_new/asgi.py b/workspace/myproject/workspace/workspace/myproject_new/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e51c92d2a9b0dea165675abb09e219179ec1157b --- /dev/null +++ b/workspace/myproject/workspace/workspace/myproject_new/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for myproject_new 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', 'myproject_new.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/workspace/myproject_new/settings.py b/workspace/myproject/workspace/workspace/myproject_new/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..1401d2ed210d97ed14071123aa27f79bc43b57bb --- /dev/null +++ b/workspace/myproject/workspace/workspace/myproject_new/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for myproject_new 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-#sot54n%a015-(baic@6$s_vyl*ziv7bdz18dkv9=!os8y5938' + +# 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 = 'myproject_new.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 = 'myproject_new.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/myproject/workspace/workspace/myproject_new/urls.py b/workspace/myproject/workspace/workspace/myproject_new/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..43277b389ebb0001c5c4ff00d272ccd8083c5360 --- /dev/null +++ b/workspace/myproject/workspace/workspace/myproject_new/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for myproject_new 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/myproject/workspace/workspace/myproject_new/wsgi.py b/workspace/myproject/workspace/workspace/myproject_new/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..63b57d378a33ca5d2cb37e73c7f76067f8293825 --- /dev/null +++ b/workspace/myproject/workspace/workspace/myproject_new/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for myproject_new 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', 'myproject_new.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/manage.py b/workspace/myproject/workspace/workspace/newdjangoapp/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..901e267732d809b7d861d108c82fef897972ccaa --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/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', 'newdjangoapp.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/myproject/workspace/workspace/newdjangoapp/mynewapp/__init__.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/admin.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/apps.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..878e8748071e9ce7bdc1564f157816978996eb2b --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/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/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/migrations/__init__.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/models.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/tests.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/views.py b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/mynewapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/__init__.py b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/asgi.py b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..19c1402811b24434c9275ab5df87d130a6099323 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for newdjangoapp 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', 'newdjangoapp.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/settings.py b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..f38cee3732e3df2e1f7bfcec7245c6ea803bad69 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for newdjangoapp 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-ex!zz7lxl$p4km$0)8ee-2&el2rt*$kqt@vp9ho76)u*#n-0$)' + +# 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 = 'newdjangoapp.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 = 'newdjangoapp.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/myproject/workspace/workspace/newdjangoapp/newdjangoapp/urls.py b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..3b2c0957a6d4afe90cd178d95210ba7237b0b7b8 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for newdjangoapp 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/myproject/workspace/workspace/newdjangoapp/newdjangoapp/wsgi.py b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..0740d12cee1e9795c122dfcd053bd4136c46b8c0 --- /dev/null +++ b/workspace/myproject/workspace/workspace/newdjangoapp/newdjangoapp/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for newdjangoapp 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', 'newdjangoapp.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/workspace/workspace/fastapi/main.py b/workspace/myproject/workspace/workspace/workspace/fastapi/main.py new file mode 100644 index 0000000000000000000000000000000000000000..7a590ebe5cd5bdf847f9472153c92b3fc03c6acf --- /dev/null +++ b/workspace/myproject/workspace/workspace/workspace/fastapi/main.py @@ -0,0 +1 @@ +from fastapi import FastAPI\napp = FastAPI() diff --git a/workspace/online_buying/__init__.py b/workspace/online_buying/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/online_buying/admin.py b/workspace/online_buying/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/online_buying/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/online_buying/apps.py b/workspace/online_buying/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e00402e775cb9f86e94a099fcd78d7c8f77f4fd5 --- /dev/null +++ b/workspace/online_buying/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class OnlineBuyingConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'online_buying' diff --git a/workspace/online_buying/migrations/__init__.py b/workspace/online_buying/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/online_buying/models.py b/workspace/online_buying/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/online_buying/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/online_buying/tests.py b/workspace/online_buying/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/online_buying/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/online_buying/views.py b/workspace/online_buying/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/online_buying/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/phone_app/__init__.py b/workspace/phone_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/models.py b/workspace/phone_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/__init__.py b/workspace/phone_app/phone_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/apps.py b/workspace/phone_app/phone_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e13f97e7de8fae32578e42c13befd02d3d7f357e --- /dev/null +++ b/workspace/phone_app/phone_app/apps.py @@ -0,0 +1 @@ +from django.apps import AppConfig\n\nclass PhoneAppConfig(AppConfig):\n name = 'phone_app' diff --git a/workspace/phone_app/phone_app/models.py b/workspace/phone_app/phone_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/urls.py b/workspace/phone_app/phone_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/views.py b/workspace/phone_app/phone_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/workspace/phone_app/__init__.py b/workspace/phone_app/phone_app/workspace/phone_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/workspace/phone_app/apps.py b/workspace/phone_app/phone_app/workspace/phone_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e13f97e7de8fae32578e42c13befd02d3d7f357e --- /dev/null +++ b/workspace/phone_app/phone_app/workspace/phone_app/apps.py @@ -0,0 +1 @@ +from django.apps import AppConfig\n\nclass PhoneAppConfig(AppConfig):\n name = 'phone_app' diff --git a/workspace/phone_app/phone_app/workspace/phone_app/models.py b/workspace/phone_app/phone_app/workspace/phone_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/workspace/phone_app/urls.py b/workspace/phone_app/phone_app/workspace/phone_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/phone_app/workspace/phone_app/views.py b/workspace/phone_app/phone_app/workspace/phone_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/urls.py b/workspace/phone_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/phone_app/views.py b/workspace/phone_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project/workspace/gold_assessment/assessment/__init__.py b/workspace/project/workspace/gold_assessment/assessment/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project/workspace/gold_assessment/assessment/admin.py b/workspace/project/workspace/gold_assessment/assessment/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/project/workspace/gold_assessment/assessment/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/project/workspace/gold_assessment/assessment/apps.py b/workspace/project/workspace/gold_assessment/assessment/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..bd75db83fe9da33affab6e2b5d53135e8fd16983 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/assessment/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class AssessmentConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'assessment' diff --git a/workspace/project/workspace/gold_assessment/assessment/migrations/__init__.py b/workspace/project/workspace/gold_assessment/assessment/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project/workspace/gold_assessment/assessment/models.py b/workspace/project/workspace/gold_assessment/assessment/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/assessment/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/project/workspace/gold_assessment/assessment/tests.py b/workspace/project/workspace/gold_assessment/assessment/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/assessment/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/project/workspace/gold_assessment/assessment/views.py b/workspace/project/workspace/gold_assessment/assessment/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/project/workspace/gold_assessment/assessment/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/project/workspace/gold_assessment/gold_assessment/__init__.py b/workspace/project/workspace/gold_assessment/gold_assessment/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project/workspace/gold_assessment/gold_assessment/asgi.py b/workspace/project/workspace/gold_assessment/gold_assessment/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..81c03a5de0137972afa743e66c8a5c452b3d6686 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/gold_assessment/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_assessment 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_assessment.settings') + +application = get_asgi_application() diff --git a/workspace/project/workspace/gold_assessment/gold_assessment/settings.py b/workspace/project/workspace/gold_assessment/gold_assessment/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..1eb8e9e953a52548cd25b98a3b2b84e2dbf0592a --- /dev/null +++ b/workspace/project/workspace/gold_assessment/gold_assessment/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_assessment 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-t!xxo*8-#%_&d0j=8)_&(9+g78=8bk7m&(w2r8crs)969o%#t%' + +# 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_assessment.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_assessment.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/project/workspace/gold_assessment/gold_assessment/urls.py b/workspace/project/workspace/gold_assessment/gold_assessment/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b16cdaff2ab7edc5ff860f5bc3ebde45aa54d1b2 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/gold_assessment/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_assessment 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/project/workspace/gold_assessment/gold_assessment/wsgi.py b/workspace/project/workspace/gold_assessment/gold_assessment/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..27d9dc882af780f8224ca308fb1825f9ba445013 --- /dev/null +++ b/workspace/project/workspace/gold_assessment/gold_assessment/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_assessment 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_assessment.settings') + +application = get_wsgi_application() diff --git a/workspace/project/workspace/gold_assessment/manage.py b/workspace/project/workspace/gold_assessment/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..84b3857e6acc98205e5fcd76fb2f1e4d627563fc --- /dev/null +++ b/workspace/project/workspace/gold_assessment/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_assessment.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/project001/manage.py b/workspace/project001/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a9b6f18aa8caa2311dd931b13caaf55c1d0451b6 --- /dev/null +++ b/workspace/project001/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', 'project001.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/project001/project001/__init__.py b/workspace/project001/project001/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/project001/asgi.py b/workspace/project001/project001/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6124f0b79f7f043961a877760475782f18d8df9d --- /dev/null +++ b/workspace/project001/project001/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project001 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', 'project001.settings') + +application = get_asgi_application() diff --git a/workspace/project001/project001/settings.py b/workspace/project001/project001/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..e7cb3adbe9d87ab73dcac914aaf0437f7f6d44d7 --- /dev/null +++ b/workspace/project001/project001/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for project001 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-_5k^jd&e%lqs+iy#t45hi71a2#hh9&k&k7=9(%l4itp11y9n=6' + +# 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 = 'project001.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 = 'project001.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/project001/project001/urls.py b/workspace/project001/project001/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..391472aba124d4a7ee236c4260c5893f7bdff2e4 --- /dev/null +++ b/workspace/project001/project001/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for project001 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/project001/project001/wsgi.py b/workspace/project001/project001/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..33b1d4506dd3b794df312af834b3b66509f70c18 --- /dev/null +++ b/workspace/project001/project001/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project001 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', 'project001.settings') + +application = get_wsgi_application() diff --git a/workspace/project001/workspace/project001/estimate_app/__init__.py b/workspace/project001/workspace/project001/estimate_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/estimate_app/admin.py b/workspace/project001/workspace/project001/estimate_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/project001/workspace/project001/estimate_app/apps.py b/workspace/project001/workspace/project001/estimate_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9c0484b390ee61b6e44d51d645890763ce0c3e0c --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class EstimateAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'estimate_app' diff --git a/workspace/project001/workspace/project001/estimate_app/migrations/__init__.py b/workspace/project001/workspace/project001/estimate_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/estimate_app/models.py b/workspace/project001/workspace/project001/estimate_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/project001/workspace/project001/estimate_app/tests.py b/workspace/project001/workspace/project001/estimate_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/project001/workspace/project001/estimate_app/views.py b/workspace/project001/workspace/project001/estimate_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/project001/workspace/project001/estimate_project/estimate_project/__init__.py b/workspace/project001/workspace/project001/estimate_project/estimate_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/estimate_project/estimate_project/asgi.py b/workspace/project001/workspace/project001/estimate_project/estimate_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..abd5e4914dcee708ed4fe1d5d932fda559ade2a3 --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_project/estimate_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for estimate_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', 'estimate_project.settings') + +application = get_asgi_application() diff --git a/workspace/project001/workspace/project001/estimate_project/estimate_project/settings.py b/workspace/project001/workspace/project001/estimate_project/estimate_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..34e46c25fb3c40bad97480eabd42435289bb9fbd --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_project/estimate_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for estimate_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-g_*pki9gdo02db^kxe249*jp)3c+ul5rp(4r9ns$_$@9l*%k(_' + +# 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 = 'estimate_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 = 'estimate_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/project001/workspace/project001/estimate_project/estimate_project/urls.py b/workspace/project001/workspace/project001/estimate_project/estimate_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..fee4735694cebf25bcdfe4e3ac1ea30fdd0e46ef --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_project/estimate_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for estimate_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/project001/workspace/project001/estimate_project/estimate_project/wsgi.py b/workspace/project001/workspace/project001/estimate_project/estimate_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..38e148ddaa369faefed6b380a8d3be536a4a49b3 --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_project/estimate_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for estimate_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', 'estimate_project.settings') + +application = get_wsgi_application() diff --git a/workspace/project001/workspace/project001/estimate_project/manage.py b/workspace/project001/workspace/project001/estimate_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..01b7d5102e6b37e2f0dedd30234807fe4513b1c8 --- /dev/null +++ b/workspace/project001/workspace/project001/estimate_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', 'estimate_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/project001/workspace/project001/manage.py b/workspace/project001/workspace/project001/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a9b6f18aa8caa2311dd931b13caaf55c1d0451b6 --- /dev/null +++ b/workspace/project001/workspace/project001/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', 'project001.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/project001/workspace/project001/my_new_app/__init__.py b/workspace/project001/workspace/project001/my_new_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/my_new_app/admin.py b/workspace/project001/workspace/project001/my_new_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/project001/workspace/project001/my_new_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/project001/workspace/project001/my_new_app/apps.py b/workspace/project001/workspace/project001/my_new_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..2dcd721b8065135b145e5fa646158ec96a6ccc87 --- /dev/null +++ b/workspace/project001/workspace/project001/my_new_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyNewAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'my_new_app' diff --git a/workspace/project001/workspace/project001/my_new_app/migrations/__init__.py b/workspace/project001/workspace/project001/my_new_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/my_new_app/models.py b/workspace/project001/workspace/project001/my_new_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/project001/workspace/project001/my_new_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/project001/workspace/project001/my_new_app/tests.py b/workspace/project001/workspace/project001/my_new_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/project001/workspace/project001/my_new_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/project001/workspace/project001/my_new_app/views.py b/workspace/project001/workspace/project001/my_new_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/project001/workspace/project001/my_new_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/project001/workspace/project001/project001/__init__.py b/workspace/project001/workspace/project001/project001/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/project001/workspace/project001/project001/asgi.py b/workspace/project001/workspace/project001/project001/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6124f0b79f7f043961a877760475782f18d8df9d --- /dev/null +++ b/workspace/project001/workspace/project001/project001/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project001 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', 'project001.settings') + +application = get_asgi_application() diff --git a/workspace/project001/workspace/project001/project001/settings.py b/workspace/project001/workspace/project001/project001/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..9fc183231fdb8956cc0f6308778f53cef5e6e4de --- /dev/null +++ b/workspace/project001/workspace/project001/project001/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for project001 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-#n@$$5%7=ys#io8j49-7i8(z48c(f=6g40w2n*6purnn@!qw37' + +# 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 = 'project001.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 = 'project001.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/project001/workspace/project001/project001/urls.py b/workspace/project001/workspace/project001/project001/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..391472aba124d4a7ee236c4260c5893f7bdff2e4 --- /dev/null +++ b/workspace/project001/workspace/project001/project001/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for project001 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/project001/workspace/project001/project001/wsgi.py b/workspace/project001/workspace/project001/project001/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..33b1d4506dd3b794df312af834b3b66509f70c18 --- /dev/null +++ b/workspace/project001/workspace/project001/project001/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project001 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', 'project001.settings') + +application = get_wsgi_application() diff --git a/workspace/projectname/appname/__init__.py b/workspace/projectname/appname/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/appname/admin.py b/workspace/projectname/appname/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/projectname/appname/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/projectname/appname/apps.py b/workspace/projectname/appname/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..9d37ade0a9a40d17c51af35f55e95ce4d816727c --- /dev/null +++ b/workspace/projectname/appname/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class AppnameConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'appname' diff --git a/workspace/projectname/appname/migrations/__init__.py b/workspace/projectname/appname/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/appname/models.py b/workspace/projectname/appname/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/projectname/appname/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/projectname/appname/tests.py b/workspace/projectname/appname/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/projectname/appname/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/projectname/appname/views.py b/workspace/projectname/appname/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/projectname/appname/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/projectname/manage.py b/workspace/projectname/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..816e90b170a16a39e0d5dd00805da4040425fe13 --- /dev/null +++ b/workspace/projectname/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', 'projectname.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/projectname/projectname/__init__.py b/workspace/projectname/projectname/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/projectname/asgi.py b/workspace/projectname/projectname/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6063b0fad02b0f29700e9825e53c89cc24b0b162 --- /dev/null +++ b/workspace/projectname/projectname/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for projectname 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', 'projectname.settings') + +application = get_asgi_application() diff --git a/workspace/projectname/projectname/settings.py b/workspace/projectname/projectname/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..1beac72ce464f2ad7940ec8c17ed92dbb568b0c9 --- /dev/null +++ b/workspace/projectname/projectname/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for projectname 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-b5wm-bfpki_q&h=03fp$y+y0p_)n$600e*2i!d#ynyb!$!s95x' + +# 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 = 'projectname.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 = 'projectname.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/projectname/projectname/urls.py b/workspace/projectname/projectname/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..30f6ad44a50b731912b113a88c8de6ae08d8b204 --- /dev/null +++ b/workspace/projectname/projectname/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for projectname 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/projectname/projectname/wsgi.py b/workspace/projectname/projectname/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..174b7f374ece0dfe6ffc6e62d724339fb0ca6d86 --- /dev/null +++ b/workspace/projectname/projectname/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for projectname 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', 'projectname.settings') + +application = get_wsgi_application() diff --git a/workspace/projectname/workspace/projectname/manage.py b/workspace/projectname/workspace/projectname/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..816e90b170a16a39e0d5dd00805da4040425fe13 --- /dev/null +++ b/workspace/projectname/workspace/projectname/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', 'projectname.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/projectname/workspace/projectname/projectname/__init__.py b/workspace/projectname/workspace/projectname/projectname/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/workspace/projectname/projectname/asgi.py b/workspace/projectname/workspace/projectname/projectname/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6063b0fad02b0f29700e9825e53c89cc24b0b162 --- /dev/null +++ b/workspace/projectname/workspace/projectname/projectname/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for projectname 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', 'projectname.settings') + +application = get_asgi_application() diff --git a/workspace/projectname/workspace/projectname/projectname/settings.py b/workspace/projectname/workspace/projectname/projectname/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..3030b4c89a95848cfb835fda7f61c349015fbe40 --- /dev/null +++ b/workspace/projectname/workspace/projectname/projectname/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for projectname 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-q=kr%@rtq*&6q594tq@9g_y13sw@(87km%2@^6#vg7z!pqiibl' + +# 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 = 'projectname.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 = 'projectname.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/projectname/workspace/projectname/projectname/urls.py b/workspace/projectname/workspace/projectname/projectname/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..30f6ad44a50b731912b113a88c8de6ae08d8b204 --- /dev/null +++ b/workspace/projectname/workspace/projectname/projectname/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for projectname 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/projectname/workspace/projectname/projectname/wsgi.py b/workspace/projectname/workspace/projectname/projectname/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..174b7f374ece0dfe6ffc6e62d724339fb0ca6d86 --- /dev/null +++ b/workspace/projectname/workspace/projectname/projectname/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for projectname 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', 'projectname.settings') + +application = get_wsgi_application() diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/main.py b/workspace/projectname/workspace/projectname/workspace/projectname/main.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/manage.py b/workspace/projectname/workspace/projectname/workspace/projectname/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..816e90b170a16a39e0d5dd00805da4040425fe13 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/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', 'projectname.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/projectname/workspace/projectname/workspace/projectname/myprojectapp/__init__.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/admin.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/apps.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..a4a7af670c0d917c58a1b56112a125f64ca65b71 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyprojectappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myprojectapp' diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/migrations/__init__.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/models.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/tests.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/views.py b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/myprojectapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/projectname/__init__.py b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/projectname/asgi.py b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6063b0fad02b0f29700e9825e53c89cc24b0b162 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for projectname 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', 'projectname.settings') + +application = get_asgi_application() diff --git a/workspace/projectname/workspace/projectname/workspace/projectname/projectname/settings.py b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..32d33c3e1f3e9364b13d6aa1033bcc18813c94ca --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for projectname 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-n-m4vgk(tb&s@@#j_v2q^ax@^%mm=d903zrq-%pr$@+w-zf_k(' + +# 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 = 'projectname.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 = 'projectname.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/projectname/workspace/projectname/workspace/projectname/projectname/urls.py b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..30f6ad44a50b731912b113a88c8de6ae08d8b204 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for projectname 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/projectname/workspace/projectname/workspace/projectname/projectname/wsgi.py b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..174b7f374ece0dfe6ffc6e62d724339fb0ca6d86 --- /dev/null +++ b/workspace/projectname/workspace/projectname/workspace/projectname/projectname/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for projectname 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', 'projectname.settings') + +application = get_wsgi_application() diff --git a/workspace/refasta/manage.py b/workspace/refasta/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8cb5141f45b14fcd8f2f38671e8b3a8de466d5e5 --- /dev/null +++ b/workspace/refasta/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', 'refasta.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/refasta/refasta/__init__.py b/workspace/refasta/refasta/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/refasta/refasta/asgi.py b/workspace/refasta/refasta/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..75fb25b21fbabecdc14668e40763ee33f64f249a --- /dev/null +++ b/workspace/refasta/refasta/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for refasta 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', 'refasta.settings') + +application = get_asgi_application() diff --git a/workspace/refasta/refasta/settings.py b/workspace/refasta/refasta/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..1466ca5b1a1d349861bfc6b57e4f2224c54def27 --- /dev/null +++ b/workspace/refasta/refasta/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for refasta 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-#!vphks@us@tg5jn9u0*nirb-(wy(=-ft3ykxv7+a=t(q4@_w9' + +# 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 = 'refasta.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 = 'refasta.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/refasta/refasta/urls.py b/workspace/refasta/refasta/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..29c37319212b7aa3fb65138370f864539b29fddb --- /dev/null +++ b/workspace/refasta/refasta/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for refasta 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/refasta/refasta/wsgi.py b/workspace/refasta/refasta/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..5ad5b6d4bde791a97a2965481b18a115f713d1a1 --- /dev/null +++ b/workspace/refasta/refasta/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for refasta 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', 'refasta.settings') + +application = get_wsgi_application() diff --git a/workspace/refasta_app/__init__.py b/workspace/refasta_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/refasta_app/admin.py b/workspace/refasta_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/refasta_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/refasta_app/apps.py b/workspace/refasta_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..a9a25735f19872bbd9905ccdded433a7800f0506 --- /dev/null +++ b/workspace/refasta_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RefastaAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'refasta_app' diff --git a/workspace/refasta_app/migrations/__init__.py b/workspace/refasta_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/refasta_app/models.py b/workspace/refasta_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/refasta_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/refasta_app/tests.py b/workspace/refasta_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/refasta_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/refasta_app/views.py b/workspace/refasta_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/refasta_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/router.py b/workspace/router.py new file mode 100644 index 0000000000000000000000000000000000000000..0a106aba870a15c96a59f04fe264d04374329f2a --- /dev/null +++ b/workspace/router.py @@ -0,0 +1,8 @@ +import os +from fastapi import FastAPI + +app = FastAPI() + +@app.get("/") +def read_root(): + return {"message": "Welcome to this fantastic app!"} \ No newline at end of file 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/test.py b/workspace/test.py new file mode 100644 index 0000000000000000000000000000000000000000..bc4200de304aba9be055ac80db8261b79ec3bf5e --- /dev/null +++ b/workspace/test.py @@ -0,0 +1 @@ +print('Hello, World!') \ No newline at end of file diff --git a/workspace/valuation/__init__.py b/workspace/valuation/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/valuation/admin.py b/workspace/valuation/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/valuation/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/valuation/apps.py b/workspace/valuation/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..f9b57f907e2ea8a40e2d3cfacf0c1258c9efb116 --- /dev/null +++ b/workspace/valuation/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ValuationConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'valuation' diff --git a/workspace/valuation/migrations/__init__.py b/workspace/valuation/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/valuation/models.py b/workspace/valuation/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/valuation/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/valuation/tests.py b/workspace/valuation/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/valuation/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/valuation/views.py b/workspace/valuation/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/valuation/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/customer_support/__init__.py b/workspace/workspace/customer_support/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/customer_support/admin.py b/workspace/workspace/customer_support/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/customer_support/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/customer_support/apps.py b/workspace/workspace/customer_support/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..ae5106b9dedbb44b799bd4c0830b4a9fff2b7c68 --- /dev/null +++ b/workspace/workspace/customer_support/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CustomerSupportConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'customer_support' diff --git a/workspace/workspace/customer_support/migrations/__init__.py b/workspace/workspace/customer_support/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/customer_support/models.py b/workspace/workspace/customer_support/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/customer_support/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/customer_support/tests.py b/workspace/workspace/customer_support/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/customer_support/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/customer_support/views.py b/workspace/workspace/customer_support/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/customer_support/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/example.txt b/workspace/workspace/example.txt new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/fastapi_app/workspace/main.py b/workspace/workspace/fastapi_app/workspace/main.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_api/__init__.py b/workspace/workspace/gold_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_api/asgi.py b/workspace/workspace/gold_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..52c11491e0d1823849783afa755164aa3a52c1bc --- /dev/null +++ b/workspace/workspace/gold_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_api 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_api.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/gold_api/gold_api/gold/__init__.py b/workspace/workspace/gold_api/gold_api/gold/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_api/gold_api/gold/admin.py b/workspace/workspace/gold_api/gold_api/gold/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/gold_api/gold_api/gold/apps.py b/workspace/workspace/gold_api/gold_api/gold/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c23b33dfec845059e66f9ffdd228e8858dcc705c --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold' diff --git a/workspace/workspace/gold_api/gold_api/gold/migrations/__init__.py b/workspace/workspace/gold_api/gold_api/gold/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_api/gold_api/gold/models.py b/workspace/workspace/gold_api/gold_api/gold/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/gold_api/gold_api/gold/tests.py b/workspace/workspace/gold_api/gold_api/gold/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/gold_api/gold_api/gold/views.py b/workspace/workspace/gold_api/gold_api/gold/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/gold_api/gold_api/gold_api/__init__.py b/workspace/workspace/gold_api/gold_api/gold_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_api/gold_api/gold_api/asgi.py b/workspace/workspace/gold_api/gold_api/gold_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..52c11491e0d1823849783afa755164aa3a52c1bc --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_api 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_api.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/gold_api/gold_api/gold_api/settings.py b/workspace/workspace/gold_api/gold_api/gold_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..73abb62a319ec472114d9402a4c436abd4e435f8 --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_api 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-)89(ipnxmp7&u@i0%u)h#%4mlfsprmqag3ry@4*nt9^xmmwbz(' + +# 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_api.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_api.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/gold_api/gold_api/gold_api/urls.py b/workspace/workspace/gold_api/gold_api/gold_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b5e0a15189dafea85dd8b5bab49992855774293d --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_api 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/gold_api/gold_api/gold_api/wsgi.py b/workspace/workspace/gold_api/gold_api/gold_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684b8bb371491918148fc2149c9e35c1e70a5147 --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/gold_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_api 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_api.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/gold_api/gold_api/manage.py b/workspace/workspace/gold_api/gold_api/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..948b0122af62c1e88d04ed69c90f822411f6f643 --- /dev/null +++ b/workspace/workspace/gold_api/gold_api/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_api.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/gold_api/settings.py b/workspace/workspace/gold_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..9103894ee3402c5cb3cb84cba5afb24a8e155952 --- /dev/null +++ b/workspace/workspace/gold_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_api 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-hm%hv55u$1@ago483y70%+041bdccsi*cwvzzcu5#&+@dh%5vo' + +# 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_api.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_api.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/gold_api/urls.py b/workspace/workspace/gold_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b5e0a15189dafea85dd8b5bab49992855774293d --- /dev/null +++ b/workspace/workspace/gold_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_api 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/gold_api/wsgi.py b/workspace/workspace/gold_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684b8bb371491918148fc2149c9e35c1e70a5147 --- /dev/null +++ b/workspace/workspace/gold_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_api 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_api.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/gold_app_dir/gold_app/__init__.py b/workspace/workspace/gold_app_dir/gold_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_app_dir/gold_app/asgi.py b/workspace/workspace/gold_app_dir/gold_app/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e358f75e397269065dfe6d601a112139bacc82ec --- /dev/null +++ b/workspace/workspace/gold_app_dir/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/workspace/workspace/gold_app_dir/gold_app/settings.py b/workspace/workspace/gold_app_dir/gold_app/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..f25550b557d90cd2c0a11b3223034265880a8454 --- /dev/null +++ b/workspace/workspace/gold_app_dir/gold_app/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_app project. + +Generated by 'django-admin startproject' using Django 5.0.6. + +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-$=t0)3$@f_s5dufc6!gve0#voz$%$p6z9jrs$htk=nsc+nxtnj' + +# 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/workspace/workspace/gold_app_dir/gold_app/urls.py b/workspace/workspace/gold_app_dir/gold_app/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e23b0e30153a3c3383792a441157a46539bf7430 --- /dev/null +++ b/workspace/workspace/gold_app_dir/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/workspace/workspace/gold_app_dir/gold_app/wsgi.py b/workspace/workspace/gold_app_dir/gold_app/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..f7b117b1f8e87cff512805de437ffafa2a9620e9 --- /dev/null +++ b/workspace/workspace/gold_app_dir/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/workspace/workspace/gold_app_dir/main_app/__init__.py b/workspace/workspace/gold_app_dir/main_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_app_dir/main_app/admin.py b/workspace/workspace/gold_app_dir/main_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/gold_app_dir/main_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/gold_app_dir/main_app/apps.py b/workspace/workspace/gold_app_dir/main_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b55b3f6bab9d5de0c17530d0fb7062ff0947df59 --- /dev/null +++ b/workspace/workspace/gold_app_dir/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/workspace/workspace/gold_app_dir/main_app/migrations/__init__.py b/workspace/workspace/gold_app_dir/main_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_app_dir/main_app/models.py b/workspace/workspace/gold_app_dir/main_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/gold_app_dir/main_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/gold_app_dir/main_app/tests.py b/workspace/workspace/gold_app_dir/main_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/gold_app_dir/main_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/gold_app_dir/main_app/views.py b/workspace/workspace/gold_app_dir/main_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/gold_app_dir/main_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/gold_app_dir/manage.py b/workspace/workspace/gold_app_dir/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..c8a341e2adc3bb6a1e91cc799a23104353b6f279 --- /dev/null +++ b/workspace/workspace/gold_app_dir/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/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/__init__.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/asgi.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a526d89e56b3495a0f4c9306d406ec70e098a980 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_proj 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_proj.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/settings.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..003fed81364114dd9199ed04b3af008e4f9ec149 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_proj 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-!9o8)7y6h#isk$xi#e1-c0w^c!5!n&5)f3l-6zb-8hu3&z!v@x' + +# 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_proj.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_proj.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/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/urls.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..9fb89e1a5c10592c276e99e07396c3dc5c6f9b20 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_proj 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/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/wsgi.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a7700a92721440ac9bb16d346d5327df70f4e613 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/gold_proj/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_proj 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_proj.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/manage.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..498e46901f492e1f24bdcc12b476ed4a19a6ba33 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_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_proj.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/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/__init__.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/asgi.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6b3fbdb92ddfd0aac7749b64ebcd4f9373c6acd2 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for goldprice 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', 'goldprice.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/settings.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..dfb7c7c614f53496e466706cb4879ce6351d4ca8 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for goldprice 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-f^*+%2ukc_$-$2875t&9-b6=!0i$xnmne=_70kr9a61!78)2r(' + +# 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 = 'goldprice.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 = 'goldprice.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/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/urls.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..222a7acf93adf5f51b53b10e32a1e773bef07b76 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for goldprice 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/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/wsgi.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..988ca2d2c9507b74f33b0be2fce8ba8f004da131 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldprice/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for goldprice 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', 'goldprice.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/__init__.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/admin.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/apps.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..0e5b4a3825f576693e15a59dd39f79647a2e5b7b --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldpriceappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'goldpriceapp' diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/migrations/__init__.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/models.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/tests.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/views.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/goldpriceapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/manage.py b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..72997e8fed7e4b0849dacdef8016f21495698c22 --- /dev/null +++ b/workspace/workspace/gold_price_project/workspace/gold_price_project/workspace/gold_project/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', 'goldprice.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/log.txt b/workspace/workspace/log.txt new file mode 100644 index 0000000000000000000000000000000000000000..f1af96b271c75545fe2866e6cb4872644d8e50e9 --- /dev/null +++ b/workspace/workspace/log.txt @@ -0,0 +1 @@ +Log file created successfully! diff --git a/workspace/workspace/main_app/__init__.py b/workspace/workspace/main_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/main_app/admin.py b/workspace/workspace/main_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/main_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/main_app/apps.py b/workspace/workspace/main_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b55b3f6bab9d5de0c17530d0fb7062ff0947df59 --- /dev/null +++ b/workspace/workspace/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/workspace/workspace/main_app/migrations/__init__.py b/workspace/workspace/main_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/main_app/models.py b/workspace/workspace/main_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/main_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/main_app/tests.py b/workspace/workspace/main_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/main_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/main_app/views.py b/workspace/workspace/main_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/main_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/manage.py b/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..948b0122af62c1e88d04ed69c90f822411f6f643 --- /dev/null +++ b/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', 'gold_api.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/my_new_project/manage.py b/workspace/workspace/my_new_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8a8c69f592b47f8441500fd12f7c0f99b32a3bbd --- /dev/null +++ b/workspace/workspace/my_new_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', 'my_new_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/my_new_project/my_new_project/__init__.py b/workspace/workspace/my_new_project/my_new_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/my_new_project/my_new_project/asgi.py b/workspace/workspace/my_new_project/my_new_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..13cb6b7fcc1a1c7f57d2411ae4f3dcc75df09f60 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for my_new_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', 'my_new_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/my_new_project/my_new_project/settings.py b/workspace/workspace/my_new_project/my_new_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..0ec0b7d8289cee2b153ea97b7d3292b71221613a --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for my_new_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-(l#_01j9ap&0_n@^ne-+1+)99noef-xqaw)+kmi$eowm+zg=)k' + +# 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 = 'my_new_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 = 'my_new_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/my_new_project/my_new_project/urls.py b/workspace/workspace/my_new_project/my_new_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..077671021daca554ed0fc69aea66a8bc0e751fb3 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for my_new_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/my_new_project/my_new_project/wsgi.py b/workspace/workspace/my_new_project/my_new_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..4fff2e3dd65a3c04b490405105b474bc59eb3bb3 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for my_new_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', 'my_new_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/my_project/manage.py b/workspace/workspace/my_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..7fb685543ff7f229d67ad7f5511e4467e3a157ba --- /dev/null +++ b/workspace/workspace/my_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', 'my_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/my_project/my_app/__init__.py b/workspace/workspace/my_project/my_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/my_project/my_app/admin.py b/workspace/workspace/my_project/my_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/my_project/my_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/my_project/my_app/apps.py b/workspace/workspace/my_project/my_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e360eca64e3dff54944f5bec76494b47bf2adf00 --- /dev/null +++ b/workspace/workspace/my_project/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/workspace/workspace/my_project/my_app/migrations/__init__.py b/workspace/workspace/my_project/my_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/my_project/my_app/models.py b/workspace/workspace/my_project/my_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/my_project/my_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/my_project/my_app/tests.py b/workspace/workspace/my_project/my_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/my_project/my_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/my_project/my_app/views.py b/workspace/workspace/my_project/my_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/my_project/my_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/my_project/my_project/__init__.py b/workspace/workspace/my_project/my_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/my_project/my_project/asgi.py b/workspace/workspace/my_project/my_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..71fab744155b9bf2c0ba14bb3120cc880cc4219b --- /dev/null +++ b/workspace/workspace/my_project/my_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for my_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', 'my_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/my_project/my_project/settings.py b/workspace/workspace/my_project/my_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..55f8624977d5fe8ed59750297c445fc2510f90ab --- /dev/null +++ b/workspace/workspace/my_project/my_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for my_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-=8_58)e@hu25w=#h$79(5*ueptp*vklpf6dsjsv1m1d%6llht=' + +# 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 = 'my_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 = 'my_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/my_project/my_project/urls.py b/workspace/workspace/my_project/my_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..314fd11717cc393ddcfd861d7c0a3276ed616c0f --- /dev/null +++ b/workspace/workspace/my_project/my_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for my_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/my_project/my_project/wsgi.py b/workspace/workspace/my_project/my_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..91c0650e934ebee6d322e250ca107255e7360a80 --- /dev/null +++ b/workspace/workspace/my_project/my_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for my_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', 'my_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/mydjangoapp/__init__.py b/workspace/workspace/mydjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/mydjangoapp/admin.py b/workspace/workspace/mydjangoapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/mydjangoapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/mydjangoapp/apps.py b/workspace/workspace/mydjangoapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..0fe954672f69beabdba9ee24818d305d12c1fcf0 --- /dev/null +++ b/workspace/workspace/mydjangoapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjangoapp' diff --git a/workspace/workspace/mydjangoapp/migrations/__init__.py b/workspace/workspace/mydjangoapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/mydjangoapp/models.py b/workspace/workspace/mydjangoapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/mydjangoapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/mydjangoapp/tests.py b/workspace/workspace/mydjangoapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/mydjangoapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/mydjangoapp/views.py b/workspace/workspace/mydjangoapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/mydjangoapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/phone_app/__init__.py b/workspace/workspace/phone_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/phone_app/admin.py b/workspace/workspace/phone_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/phone_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/phone_app/apps.py b/workspace/workspace/phone_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..22027ee30a69082fcc7e76bd2276f3631d785c53 --- /dev/null +++ b/workspace/workspace/phone_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class PhoneAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'phone_app' diff --git a/workspace/workspace/phone_app/migrations/__init__.py b/workspace/workspace/phone_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/phone_app/models.py b/workspace/workspace/phone_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/phone_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/phone_app/tests.py b/workspace/workspace/phone_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/phone_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/phone_app/views.py b/workspace/workspace/phone_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/phone_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. 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/refasta/manage.py b/workspace/workspace/refasta/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8cb5141f45b14fcd8f2f38671e8b3a8de466d5e5 --- /dev/null +++ b/workspace/workspace/refasta/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', 'refasta.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/refasta/myapp/__init__.py b/workspace/workspace/refasta/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/refasta/myapp/admin.py b/workspace/workspace/refasta/myapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/refasta/myapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/refasta/myapp/apps.py b/workspace/workspace/refasta/myapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c34fb20eb6a166110a0fb57a95512f57e55f38e7 --- /dev/null +++ b/workspace/workspace/refasta/myapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp' diff --git a/workspace/workspace/refasta/myapp/migrations/__init__.py b/workspace/workspace/refasta/myapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/refasta/myapp/models.py b/workspace/workspace/refasta/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/refasta/myapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/refasta/myapp/tests.py b/workspace/workspace/refasta/myapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/refasta/myapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/refasta/myapp/views.py b/workspace/workspace/refasta/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/refasta/myapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/refasta/refasta/__init__.py b/workspace/workspace/refasta/refasta/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/refasta/refasta/asgi.py b/workspace/workspace/refasta/refasta/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..75fb25b21fbabecdc14668e40763ee33f64f249a --- /dev/null +++ b/workspace/workspace/refasta/refasta/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for refasta 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', 'refasta.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/refasta/refasta/settings.py b/workspace/workspace/refasta/refasta/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..36f789c05ec2dbe9217eed83a97e3aab5d77e984 --- /dev/null +++ b/workspace/workspace/refasta/refasta/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for refasta 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-kj4_+zsbwj22bt+70_kpbjah&&3+p*46lwbn8f@3ukyz&9k0^-' + +# 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 = 'refasta.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 = 'refasta.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/refasta/refasta/urls.py b/workspace/workspace/refasta/refasta/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..29c37319212b7aa3fb65138370f864539b29fddb --- /dev/null +++ b/workspace/workspace/refasta/refasta/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for refasta 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/refasta/refasta/wsgi.py b/workspace/workspace/refasta/refasta/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..5ad5b6d4bde791a97a2965481b18a115f713d1a1 --- /dev/null +++ b/workspace/workspace/refasta/refasta/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for refasta 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', 'refasta.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/static/styles.css b/workspace/workspace/static/styles.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/templates/base.html b/workspace/workspace/templates/base.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/watch_buyer/__init__.py b/workspace/workspace/watch_buyer/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/watch_buyer/admin.py b/workspace/workspace/watch_buyer/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/watch_buyer/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/watch_buyer/apps.py b/workspace/workspace/watch_buyer/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..d27a51dd6a318a44783761d097b5ef9626444d23 --- /dev/null +++ b/workspace/workspace/watch_buyer/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class WatchBuyerConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'watch_buyer' diff --git a/workspace/workspace/watch_buyer/migrations/__init__.py b/workspace/workspace/watch_buyer/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/watch_buyer/models.py b/workspace/workspace/watch_buyer/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/watch_buyer/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/watch_buyer/tests.py b/workspace/workspace/watch_buyer/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/watch_buyer/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/watch_buyer/views.py b/workspace/workspace/watch_buyer/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/watch_buyer/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/main.py b/workspace/workspace/workspace/main.py new file mode 100644 index 0000000000000000000000000000000000000000..d593ada3e2063d1a96df13fc1814e0ba2c8b4d5f --- /dev/null +++ b/workspace/workspace/workspace/main.py @@ -0,0 +1,2 @@ +from fastapi import FastAPI +app = FastAPI() \ No newline at end of file diff --git a/workspace/workspace/workspace/manage.py b/workspace/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/workspace/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', '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/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() diff --git a/workspace/workspace/workspace/mydjangoapp/__init__.py b/workspace/workspace/workspace/mydjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/admin.py b/workspace/workspace/workspace/mydjangoapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/mydjangoapp/apps.py b/workspace/workspace/workspace/mydjangoapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..0fe954672f69beabdba9ee24818d305d12c1fcf0 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjangoapp' diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/__init__.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/admin.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/apps.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..d57f74e230002567d8fc48b77cff89f06252a1cb --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold_app' diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/migrations/__init__.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/models.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/tests.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/views.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/__init__.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/asgi.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..de16e3cb22f891ea80a3082cbf3edd0327eac8ef --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_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_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/settings.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..e1458a5799ecba4ee3e21ba88cfa0f7640744053 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_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-a=bmtrgg0u#v!&7#!o2f0&^%wqpjbbb@r=#uhba26gb@4p#31*' + +# 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_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_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/mydjangoapp/gold_project/gold_project/urls.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b640313014bf6cb67eb9329ce8fc4b8ddff2e9f7 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_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/mydjangoapp/gold_project/gold_project/wsgi.py b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..672fe65eb48a6199842b9d82f315af2464e77999 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_project/gold_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_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_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/workspace/mydjangoapp/gold_project/manage.py b/workspace/workspace/workspace/mydjangoapp/gold_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..be0862078d8c3270706671f1f6353ec0b215f24e --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/gold_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_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/mydjangoapp/migrations/__init__.py b/workspace/workspace/workspace/mydjangoapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/models.py b/workspace/workspace/workspace/mydjangoapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/mydjangoapp/static/styles.css b/workspace/workspace/workspace/mydjangoapp/static/styles.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/templates/base.html b/workspace/workspace/workspace/mydjangoapp/templates/base.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mydjangoapp/tests.py b/workspace/workspace/workspace/mydjangoapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/mydjangoapp/views.py b/workspace/workspace/workspace/mydjangoapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/mydjangoapp/workspace/new_file.txt b/workspace/workspace/workspace/mydjangoapp/workspace/new_file.txt new file mode 100644 index 0000000000000000000000000000000000000000..6dfa057f0d4a43d5a3025a9c14dea607de9e1dbb --- /dev/null +++ b/workspace/workspace/workspace/mydjangoapp/workspace/new_file.txt @@ -0,0 +1 @@ +This is a new file diff --git a/workspace/workspace/workspace/mynewproject/__init__.py b/workspace/workspace/workspace/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mynewproject/asgi.py b/workspace/workspace/workspace/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/workspace/workspace/workspace/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/workspace/workspace/workspace/mynewproject/settings.py b/workspace/workspace/workspace/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..8397d35344a4b6a098c5ca058eef7ee326365bac --- /dev/null +++ b/workspace/workspace/workspace/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-sc#g8vbm(@)k59=%78#evcdu-z-)u(8^q6q^%0hxqh1a##k4++' + +# 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/workspace/workspace/workspace/mynewproject/urls.py b/workspace/workspace/workspace/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/workspace/workspace/workspace/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/workspace/workspace/workspace/mynewproject/workspace/manage.py b/workspace/workspace/workspace/mynewproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/workspace/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', '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/workspace/workspace/workspace/mynewproject/workspace/mynewproject/__init__.py b/workspace/workspace/workspace/mynewproject/workspace/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mynewproject/workspace/mynewproject/asgi.py b/workspace/workspace/workspace/mynewproject/workspace/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/mynewproject/settings.py b/workspace/workspace/workspace/mynewproject/workspace/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..7fce677b579b6f54325b5d92ebd5ebb29b6944a3 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/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-ao&5*+e)(k02t^6+#%$0h5@8cb_vl%6*(z!!q-p=ho$t#88to2' + +# 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/workspace/workspace/workspace/mynewproject/workspace/mynewproject/urls.py b/workspace/workspace/workspace/mynewproject/workspace/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/mynewproject/wsgi.py b/workspace/workspace/workspace/mynewproject/workspace/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/manage.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/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', '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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/__init__.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/asgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/settings.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..a8629e26e607dfcbce0d5771e5d1103a018c31da --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/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-0^5&4+-b!rg16us5in87ffz166!31^d+99$a8)vj=am2+5ec&4' + +# 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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/urls.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/manage.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/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', '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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/__init__.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/asgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/settings.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..f3aa447749c1bfb86e19139d4a837875f4292583 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/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-bup6ugc%*0p1_f2hb9g1gx$*!&qe=rli-c5ojrh99w6duq4-_3' + +# 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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/urls.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/manage.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..19fff008516dfa92f255c702c641a414507c9800 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/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', '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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/__init__.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/asgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..7324ffc430a479f44c9cf81601b2c02a3b05b71f --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/settings.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..bd655a5838636ad67c19efd0057734da89ca5c32 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/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-gx6tdx_w-pu&0y-y)e*&k6eymqbc+bx!i5l=!(ol@-fa0ty5%h' + +# 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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/urls.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..834187b4476b37b9d1a28c8c72c3ecd05dbe0267 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/wsgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/wsgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/workspace/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/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/wsgi.py b/workspace/workspace/workspace/mynewproject/workspace/workspace/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/workspace/workspace/workspace/mynewproject/workspace/workspace/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/workspace/workspace/workspace/mynewproject/wsgi.py b/workspace/workspace/workspace/mynewproject/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..d0dc45ef51a8f474fc35b67b3b82ca3f7660f622 --- /dev/null +++ b/workspace/workspace/workspace/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/workspace/workspace/workspace/platinum_buyback/__init__.py b/workspace/workspace/workspace/platinum_buyback/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/platinum_buyback/admin.py b/workspace/workspace/workspace/platinum_buyback/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/platinum_buyback/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/platinum_buyback/apps.py b/workspace/workspace/workspace/platinum_buyback/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..68d2470a2cd40dba6e4241a21e53c6793ab2fe8f --- /dev/null +++ b/workspace/workspace/workspace/platinum_buyback/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class PlatinumBuybackConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'platinum_buyback' diff --git a/workspace/workspace/workspace/platinum_buyback/migrations/__init__.py b/workspace/workspace/workspace/platinum_buyback/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/platinum_buyback/models.py b/workspace/workspace/workspace/platinum_buyback/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/platinum_buyback/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/platinum_buyback/tests.py b/workspace/workspace/workspace/platinum_buyback/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/platinum_buyback/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/platinum_buyback/views.py b/workspace/workspace/workspace/platinum_buyback/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/platinum_buyback/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/project/main_app/__init__.py b/workspace/workspace/workspace/project/main_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/project/main_app/admin.py b/workspace/workspace/workspace/project/main_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/project/main_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/project/main_app/apps.py b/workspace/workspace/workspace/project/main_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..b55b3f6bab9d5de0c17530d0fb7062ff0947df59 --- /dev/null +++ b/workspace/workspace/workspace/project/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/workspace/workspace/workspace/project/main_app/migrations/__init__.py b/workspace/workspace/workspace/project/main_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/project/main_app/models.py b/workspace/workspace/workspace/project/main_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/project/main_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/project/main_app/tests.py b/workspace/workspace/workspace/project/main_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/project/main_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/project/main_app/views.py b/workspace/workspace/workspace/project/main_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/project/main_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/project/manage.py b/workspace/workspace/workspace/project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..2c49f3ac22774ee37666fd8bad6f7ed1c8069756 --- /dev/null +++ b/workspace/workspace/workspace/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', '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/project/project/__init__.py b/workspace/workspace/workspace/project/project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/project/project/asgi.py b/workspace/workspace/workspace/project/project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..ff802aae0dfbc29f39529099ce516376d2da2bb2 --- /dev/null +++ b/workspace/workspace/workspace/project/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/project/project/settings.py b/workspace/workspace/workspace/project/project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..7ae2084b82295ced4201935a03b3cb37c47858fd --- /dev/null +++ b/workspace/workspace/workspace/project/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--6!fywllf0%cw4)347yrm@52v*t9vp3epc02i6dk(k*f6(nh%p' + +# 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/project/project/urls.py b/workspace/workspace/workspace/project/project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..3db37b434e141ab63cb804750d708e13ff1327d2 --- /dev/null +++ b/workspace/workspace/workspace/project/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/project/project/wsgi.py b/workspace/workspace/workspace/project/project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684174afd679de6ae98cd19289b504226b720f0c --- /dev/null +++ b/workspace/workspace/workspace/project/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() diff --git a/workspace/workspace/workspace/workspace/diamond_app/__init__.py b/workspace/workspace/workspace/workspace/diamond_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/diamond_app/admin.py b/workspace/workspace/workspace/workspace/diamond_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/workspace/diamond_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/workspace/diamond_app/apps.py b/workspace/workspace/workspace/workspace/diamond_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..f0d0c60cfcbef04f75b954f150a9c912e3da74d7 --- /dev/null +++ b/workspace/workspace/workspace/workspace/diamond_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class DiamondAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'diamond_app' diff --git a/workspace/workspace/workspace/workspace/diamond_app/migrations/__init__.py b/workspace/workspace/workspace/workspace/diamond_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/diamond_app/models.py b/workspace/workspace/workspace/workspace/diamond_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/workspace/diamond_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/workspace/diamond_app/tests.py b/workspace/workspace/workspace/workspace/diamond_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/workspace/diamond_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/workspace/diamond_app/views.py b/workspace/workspace/workspace/workspace/diamond_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/workspace/diamond_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/workspace/projectname/fastapi_app/main.py b/workspace/workspace/workspace/workspace/projectname/fastapi_app/main.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/__init__.py b/workspace/workspace/workspace/workspace/projectname/mainapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/admin.py b/workspace/workspace/workspace/workspace/projectname/mainapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/mainapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/apps.py b/workspace/workspace/workspace/workspace/projectname/mainapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..8aa89a84d43d8a56dc7d83a75b8740826f036b21 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/mainapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MainappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mainapp' diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/migrations/__init__.py b/workspace/workspace/workspace/workspace/projectname/mainapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/models.py b/workspace/workspace/workspace/workspace/projectname/mainapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/mainapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/tests.py b/workspace/workspace/workspace/workspace/projectname/mainapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/mainapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/workspace/projectname/mainapp/views.py b/workspace/workspace/workspace/workspace/projectname/mainapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/mainapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/workspace/projectname/manage.py b/workspace/workspace/workspace/workspace/projectname/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..816e90b170a16a39e0d5dd00805da4040425fe13 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/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', 'projectname.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/workspace/projectname/projectname/__init__.py b/workspace/workspace/workspace/workspace/projectname/projectname/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/projectname/projectname/asgi.py b/workspace/workspace/workspace/workspace/projectname/projectname/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6063b0fad02b0f29700e9825e53c89cc24b0b162 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/projectname/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for projectname 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', 'projectname.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/workspace/projectname/projectname/settings.py b/workspace/workspace/workspace/workspace/projectname/projectname/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..41d33334dd6061b5e9d901594d864b692f56169d --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/projectname/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for projectname 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-4vzo7^tr$t7q+j(88nd_w7pvt(710j6p&=6%u)wsls)m$itznn' + +# 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 = 'projectname.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 = 'projectname.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/workspace/projectname/projectname/urls.py b/workspace/workspace/workspace/workspace/projectname/projectname/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..30f6ad44a50b731912b113a88c8de6ae08d8b204 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/projectname/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for projectname 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/workspace/projectname/projectname/wsgi.py b/workspace/workspace/workspace/workspace/projectname/projectname/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..174b7f374ece0dfe6ffc6e62d724339fb0ca6d86 --- /dev/null +++ b/workspace/workspace/workspace/workspace/projectname/projectname/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for projectname 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', 'projectname.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/workspace/workspace/refasta/core/__init__.py b/workspace/workspace/workspace/workspace/refasta/core/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/core/admin.py b/workspace/workspace/workspace/workspace/refasta/core/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/core/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/core/apps.py b/workspace/workspace/workspace/workspace/refasta/core/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..8115ae60bc647249211ecbd4bbf6aa65478e9b5c --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/core/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CoreConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'core' diff --git a/workspace/workspace/workspace/workspace/refasta/core/migrations/__init__.py b/workspace/workspace/workspace/workspace/refasta/core/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/core/models.py b/workspace/workspace/workspace/workspace/refasta/core/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/core/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/core/tests.py b/workspace/workspace/workspace/workspace/refasta/core/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/core/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/workspace/refasta/core/views.py b/workspace/workspace/workspace/workspace/refasta/core/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/core/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/workspace/refasta/manage.py b/workspace/workspace/workspace/workspace/refasta/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8cb5141f45b14fcd8f2f38671e8b3a8de466d5e5 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/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', 'refasta.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/workspace/refasta/refasta/__init__.py b/workspace/workspace/workspace/workspace/refasta/refasta/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/refasta/asgi.py b/workspace/workspace/workspace/workspace/refasta/refasta/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..75fb25b21fbabecdc14668e40763ee33f64f249a --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/refasta/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for refasta 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', 'refasta.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/workspace/refasta/refasta/settings.py b/workspace/workspace/workspace/workspace/refasta/refasta/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..444f17be3bad7df0f585b7c0c0413688f49a156f --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/refasta/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for refasta 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-w!=415@*yeny$6)0v=&)o&2t^lwy3-0us@byd-vdvt1hfm&i&3' + +# 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 = 'refasta.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 = 'refasta.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/workspace/refasta/refasta/urls.py b/workspace/workspace/workspace/workspace/refasta/refasta/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..29c37319212b7aa3fb65138370f864539b29fddb --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/refasta/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for refasta 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/workspace/refasta/refasta/wsgi.py b/workspace/workspace/workspace/workspace/refasta/refasta/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..5ad5b6d4bde791a97a2965481b18a115f713d1a1 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/refasta/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for refasta 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', 'refasta.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/__init__.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/admin.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/apps.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..8115ae60bc647249211ecbd4bbf6aa65478e9b5c --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CoreConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'core' diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/migrations/__init__.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/models.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/tests.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/views.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/core/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/__init__.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/asgi.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..f131cdf63c1b6bd62f50492816d127db0e6b32f2 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for hobspot_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', 'hobspot_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/settings.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..157b5fac92dd51dd9be901d38540dc7ff50b9971 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for hobspot_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-=+_9w9l2cqf$_#9i*(hs%tg44se*_ux0)fd8)+7+newk0oswh^' + +# 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 = 'hobspot_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 = 'hobspot_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/workspace/refasta/workspace/hobspot_project/hobspot_project/urls.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..154eb8b38972a7961e490a8c4030eb5dc948736b --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for hobspot_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/workspace/refasta/workspace/hobspot_project/hobspot_project/wsgi.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..6064684b8b7b673efd26f9dd9126373cf183b803 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/hobspot_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for hobspot_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', 'hobspot_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/manage.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..6887ee4b2b8f3e42b8c18fac9610cfcc1487af4d --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_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', 'hobspot_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/workspace/refasta/workspace/hobspot_project/workspace/richmenu/__init__.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/admin.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/apps.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..5a2c5df35538a3b4c3efb5ebb5e0ae1fb33bc22a --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RichmenuConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'richmenu' diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/migrations/__init__.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/models.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/tests.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/views.py b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/workspace/workspace/refasta/workspace/hobspot_project/workspace/richmenu/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/zendesk_app/__init__.py b/workspace/workspace/zendesk_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/zendesk_app/admin.py b/workspace/workspace/zendesk_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/workspace/zendesk_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/workspace/zendesk_app/apps.py b/workspace/workspace/zendesk_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..bc4e83cb0bad3e02dc3148a2277a6d4fc65686c4 --- /dev/null +++ b/workspace/workspace/zendesk_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ZendeskAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'zendesk_app' diff --git a/workspace/workspace/zendesk_app/migrations/__init__.py b/workspace/workspace/zendesk_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/zendesk_app/models.py b/workspace/workspace/zendesk_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/workspace/zendesk_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/workspace/zendesk_app/tests.py b/workspace/workspace/zendesk_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/workspace/zendesk_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/workspace/zendesk_app/views.py b/workspace/workspace/zendesk_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/workspace/zendesk_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.