diff --git a/babyagi/prompt.txt b/babyagi/prompt.txt index 5fa48c41983dcd18819a812b3ba19010be70a2c7..ff7a51ccb22a75e59c23c1178fade095d0c1d532 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/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/data_level0.bin b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/data_level0.bin index 786c596298c327df7c5fb6958924c481ecd11f36..dce2402e9c8e48b759af89f33c02f26f37d60971 100644 --- a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/data_level0.bin +++ b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/data_level0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d3c9fd302f000d7790aa403c2d0d8fec363fe46f30b07d53020b6e33b22435a9 +oid sha256:79e0a9c539a03248fa717b3448160a6cd7c4f79540a5d02e64cf0b53cb9116b4 size 1676000 diff --git a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin index cede51e4ab190cb1f847042b55ad1414279b1446..11fea974e93278aaac101784af4ab9a480fec034 100644 --- a/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin +++ b/chroma/1303e1ad-d2ff-495f-b987-6ef0f8327781/length.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a28a74a9c1e4a9630d9c06d28c53c13a8ee77712a6be89e30fcd44245adff29 +oid sha256:d46834fee238cbc781fd3bcafa785bf434397535408e9dd6e866dfe7a476840e size 4000 diff --git a/chroma/chroma.sqlite3 b/chroma/chroma.sqlite3 index fdfa7ea97c2b9c5f573d5c4ab6ce1efdc9a0c8bd..9ad7999525d5df544d04231ac1d411b4aacd2269 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:c71317f0fdab5781112d3daf07097d577badfbf01f70b53031583040809c3215 +size 487424 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/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/admin.py b/clothing_project/brand_buyer/admin.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/admin.py rename to clothing_project/brand_buyer/admin.py 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/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/models.py b/clothing_project/brand_buyer/models.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/models.py rename to clothing_project/brand_buyer/models.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/tests.py b/clothing_project/brand_buyer/tests.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/tests.py rename to clothing_project/brand_buyer/tests.py diff --git a/workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/views.py b/clothing_project/brand_buyer/views.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/views.py rename to clothing_project/brand_buyer/views.py 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/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/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/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/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/routers/gra_04_database/rides.py b/routers/gra_04_database/rides.py index e40b97a6fea413ac46e264a481cfca9d2a597a07..043521631814d1d937ddaa9c2e176650f0c28eb2 100644 --- a/routers/gra_04_database/rides.py +++ b/routers/gra_04_database/rides.py @@ -3,7 +3,7 @@ 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/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/gold_price_app/__init__.py b/workspace/gold_price_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold_price_app/admin.py b/workspace/gold_price_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/gold_price_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/gold_price_app/apps.py b/workspace/gold_price_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..fc103382140c38d9f98ed98369a642265d166c5a --- /dev/null +++ b/workspace/gold_price_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GoldPriceAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'gold_price_app' diff --git a/workspace/gold_price_app/migrations/__init__.py b/workspace/gold_price_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/gold_price_app/models.py b/workspace/gold_price_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/gold_price_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/gold_price_app/tests.py b/workspace/gold_price_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/gold_price_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/gold_price_app/views.py b/workspace/gold_price_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/gold_price_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/hello.txt b/workspace/hello.txt new file mode 100644 index 0000000000000000000000000000000000000000..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/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/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/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/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/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/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_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/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/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/silver_app/__init__.py b/workspace/silver_app/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/silver_app/admin.py b/workspace/silver_app/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/silver_app/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/silver_app/apps.py b/workspace/silver_app/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..076f093c3863fc2af7fa4eca4dc2ddb128d74199 --- /dev/null +++ b/workspace/silver_app/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class SilverAppConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'silver_app' diff --git a/workspace/silver_app/migrations/__init__.py b/workspace/silver_app/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/silver_app/models.py b/workspace/silver_app/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/silver_app/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/silver_app/tests.py b/workspace/silver_app/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/silver_app/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/silver_app/views.py b/workspace/silver_app/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/silver_app/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/__init__.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..a31256be3274df8933892a4f361b07a8755d2fc1 --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for appraisal_project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..f02ad346a4809de725f93c45bd2e8a7e848a0826 --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for appraisal_project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-=9oj^@@6(8c0gtx8!x-e2o$l!6eo6949_lf49#ma@t02r2g32h' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'appraisal_project.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'appraisal_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..484164f3cd5e6f545b0d011c7a7a59669e4049ae --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for appraisal_project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..9c3494ae3ea1dd565997af91495802b37d8a76cb --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/appraisal_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for appraisal_project project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + +application = get_wsgi_application() diff --git a/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py b/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..470f11e73d0a8fbb2d1e6e89888c85b9e093558a --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/appraisal_project/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'appraisal_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt b/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt new file mode 100644 index 0000000000000000000000000000000000000000..46fd04c27224998f75486353d32ae8de0d1c8a1a --- /dev/null +++ b/workspace/workspace/appraisal_project/workspace/workspace/current_directory.txt @@ -0,0 +1 @@ +/home/user/app/workspace/workspace/appraisal_project/workspace \ No newline at end of file diff --git a/workspace/workspace/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/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/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/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/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/apps.py b/workspace/workspace/refasta/myapp/apps.py similarity index 100% rename from workspace/myproject/workspace/myproject/mydjango/workspace/myproject/mydjango/apps.py rename to workspace/workspace/refasta/myapp/apps.py 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/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/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/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()