diff --git a/controllers/gpt_enginner20240704045601 b/controllers/gpt_enginner20240704045601 new file mode 160000 index 0000000000000000000000000000000000000000..ce1d4de1302e78e14abeaded1f71af35620c5eb9 --- /dev/null +++ b/controllers/gpt_enginner20240704045601 @@ -0,0 +1 @@ +Subproject commit ce1d4de1302e78e14abeaded1f71af35620c5eb9 diff --git a/controllers/gpt_enginner20240704050606 b/controllers/gpt_enginner20240704050606 new file mode 160000 index 0000000000000000000000000000000000000000..239dc22e4b4f280a1163ebfb4c2a2d29c871a16b --- /dev/null +++ b/controllers/gpt_enginner20240704050606 @@ -0,0 +1 @@ +Subproject commit 239dc22e4b4f280a1163ebfb4c2a2d29c871a16b diff --git a/controllers/gpt_enginner20240704050957 b/controllers/gpt_enginner20240704050957 new file mode 160000 index 0000000000000000000000000000000000000000..fbcb884305a5be55d7dd5d83a9b0bcdc5a111e1c --- /dev/null +++ b/controllers/gpt_enginner20240704050957 @@ -0,0 +1 @@ +Subproject commit fbcb884305a5be55d7dd5d83a9b0bcdc5a111e1c diff --git a/controllers/gpt_enginner20240704051344 b/controllers/gpt_enginner20240704051344 new file mode 160000 index 0000000000000000000000000000000000000000..37c343ee08d59847619d7f674449f96470a9818e --- /dev/null +++ b/controllers/gpt_enginner20240704051344 @@ -0,0 +1 @@ +Subproject commit 37c343ee08d59847619d7f674449f96470a9818e diff --git a/controllers/gpt_enginner20240704051612 b/controllers/gpt_enginner20240704051612 new file mode 160000 index 0000000000000000000000000000000000000000..67a5b578db89175937aef202694696211e7d2d2b --- /dev/null +++ b/controllers/gpt_enginner20240704051612 @@ -0,0 +1 @@ +Subproject commit 67a5b578db89175937aef202694696211e7d2d2b diff --git a/controllers/gpt_enginner20240704052301 b/controllers/gpt_enginner20240704052301 new file mode 160000 index 0000000000000000000000000000000000000000..1a94dd244314693af24e8dd4913e03605f0f8f35 --- /dev/null +++ b/controllers/gpt_enginner20240704052301 @@ -0,0 +1 @@ +Subproject commit 1a94dd244314693af24e8dd4913e03605f0f8f35 diff --git a/controllers/gpt_enginner20240704052435 b/controllers/gpt_enginner20240704052435 new file mode 160000 index 0000000000000000000000000000000000000000..59db33e3b84b709fb6814d2c5b75cd2e1122b6ac --- /dev/null +++ b/controllers/gpt_enginner20240704052435 @@ -0,0 +1 @@ +Subproject commit 59db33e3b84b709fb6814d2c5b75cd2e1122b6ac diff --git a/controllers/gpt_enginner20240704053442 b/controllers/gpt_enginner20240704053442 new file mode 160000 index 0000000000000000000000000000000000000000..78f5fb34e542e415344c57909d7fd8e25e632aef --- /dev/null +++ b/controllers/gpt_enginner20240704053442 @@ -0,0 +1 @@ +Subproject commit 78f5fb34e542e415344c57909d7fd8e25e632aef diff --git a/controllers/gpt_enginner20240704053653 b/controllers/gpt_enginner20240704053653 new file mode 160000 index 0000000000000000000000000000000000000000..6ff3c6eb8a5262828132963d30cdf55f16dbbf02 --- /dev/null +++ b/controllers/gpt_enginner20240704053653 @@ -0,0 +1 @@ +Subproject commit 6ff3c6eb8a5262828132963d30cdf55f16dbbf02 diff --git a/controllers/gpt_enginner20240704055442 b/controllers/gpt_enginner20240704055442 new file mode 160000 index 0000000000000000000000000000000000000000..e7fcd866aca0fbf5e097f94e6f0367eb151a0b85 --- /dev/null +++ b/controllers/gpt_enginner20240704055442 @@ -0,0 +1 @@ +Subproject commit e7fcd866aca0fbf5e097f94e6f0367eb151a0b85 diff --git a/controllers/gpt_enginner20240704055527 b/controllers/gpt_enginner20240704055527 new file mode 160000 index 0000000000000000000000000000000000000000..ce7d9bdec8d59db1bc477fd106ce3169276519f2 --- /dev/null +++ b/controllers/gpt_enginner20240704055527 @@ -0,0 +1 @@ +Subproject commit ce7d9bdec8d59db1bc477fd106ce3169276519f2 diff --git a/controllers/gpt_enginner20240704055559 b/controllers/gpt_enginner20240704055559 new file mode 160000 index 0000000000000000000000000000000000000000..ffe64d62a27fd7bb1333fd5b2be4f0de932d4890 --- /dev/null +++ b/controllers/gpt_enginner20240704055559 @@ -0,0 +1 @@ +Subproject commit ffe64d62a27fd7bb1333fd5b2be4f0de932d4890 diff --git a/controllers/gpt_enginner20240704055712 b/controllers/gpt_enginner20240704055712 new file mode 160000 index 0000000000000000000000000000000000000000..e1c2c470498e646a6bfdd536196d9c8351df8b01 --- /dev/null +++ b/controllers/gpt_enginner20240704055712 @@ -0,0 +1 @@ +Subproject commit e1c2c470498e646a6bfdd536196d9c8351df8b01 diff --git a/controllers/gpt_enginner20240704055817 b/controllers/gpt_enginner20240704055817 new file mode 160000 index 0000000000000000000000000000000000000000..303891617dc25e573745cbb86d33c6b6da4098f3 --- /dev/null +++ b/controllers/gpt_enginner20240704055817 @@ -0,0 +1 @@ +Subproject commit 303891617dc25e573745cbb86d33c6b6da4098f3 diff --git a/controllers/gpt_enginner20240704060253 b/controllers/gpt_enginner20240704060253 new file mode 160000 index 0000000000000000000000000000000000000000..edff18d5b0d569b052a7213947c6fae23e52e69f --- /dev/null +++ b/controllers/gpt_enginner20240704060253 @@ -0,0 +1 @@ +Subproject commit edff18d5b0d569b052a7213947c6fae23e52e69f diff --git a/controllers/gpt_enginner20240704060355 b/controllers/gpt_enginner20240704060355 new file mode 160000 index 0000000000000000000000000000000000000000..fb6476f79a7a8afdcf5a1a293d5e604fd257d406 --- /dev/null +++ b/controllers/gpt_enginner20240704060355 @@ -0,0 +1 @@ +Subproject commit fb6476f79a7a8afdcf5a1a293d5e604fd257d406 diff --git a/controllers/gpt_enginner20240704061655 b/controllers/gpt_enginner20240704061655 new file mode 160000 index 0000000000000000000000000000000000000000..4f343079201fe1ee90f11614318beafe4a5cdb01 --- /dev/null +++ b/controllers/gpt_enginner20240704061655 @@ -0,0 +1 @@ +Subproject commit 4f343079201fe1ee90f11614318beafe4a5cdb01 diff --git a/controllers/gpt_enginner20240704061747 b/controllers/gpt_enginner20240704061747 new file mode 160000 index 0000000000000000000000000000000000000000..bcf34b286697a58a81cd77656dc456d269a156a5 --- /dev/null +++ b/controllers/gpt_enginner20240704061747 @@ -0,0 +1 @@ +Subproject commit bcf34b286697a58a81cd77656dc456d269a156a5 diff --git a/controllers/gpt_enginner20240704061846 b/controllers/gpt_enginner20240704061846 new file mode 160000 index 0000000000000000000000000000000000000000..19a19d8f2ec3ad3669a3de84ea1accc1858b1d2d --- /dev/null +++ b/controllers/gpt_enginner20240704061846 @@ -0,0 +1 @@ +Subproject commit 19a19d8f2ec3ad3669a3de84ea1accc1858b1d2d diff --git a/controllers/gpt_enginner20240704062140 b/controllers/gpt_enginner20240704062140 new file mode 160000 index 0000000000000000000000000000000000000000..529a115945f267ecdde6729f31a690dc9098757d --- /dev/null +++ b/controllers/gpt_enginner20240704062140 @@ -0,0 +1 @@ +Subproject commit 529a115945f267ecdde6729f31a690dc9098757d diff --git a/controllers/gpt_enginner20240704062206 b/controllers/gpt_enginner20240704062206 new file mode 160000 index 0000000000000000000000000000000000000000..b5ddf6afdda935b0263bad854aceb767f5b2e74a --- /dev/null +++ b/controllers/gpt_enginner20240704062206 @@ -0,0 +1 @@ +Subproject commit b5ddf6afdda935b0263bad854aceb767f5b2e74a diff --git a/controllers/gpt_enginner20240704062240 b/controllers/gpt_enginner20240704062240 new file mode 160000 index 0000000000000000000000000000000000000000..5034079f18145ca634feaef38525947a9c131464 --- /dev/null +++ b/controllers/gpt_enginner20240704062240 @@ -0,0 +1 @@ +Subproject commit 5034079f18145ca634feaef38525947a9c131464 diff --git a/controllers/gpt_enginner20240704062446 b/controllers/gpt_enginner20240704062446 new file mode 160000 index 0000000000000000000000000000000000000000..594697e9e85e2a4717d3f9b33c21e08ef632460f --- /dev/null +++ b/controllers/gpt_enginner20240704062446 @@ -0,0 +1 @@ +Subproject commit 594697e9e85e2a4717d3f9b33c21e08ef632460f diff --git a/controllers/gpt_enginner20240704062955 b/controllers/gpt_enginner20240704062955 new file mode 160000 index 0000000000000000000000000000000000000000..bd1e5614b0a5beeeb324b8631d556788de3a5ddb --- /dev/null +++ b/controllers/gpt_enginner20240704062955 @@ -0,0 +1 @@ +Subproject commit bd1e5614b0a5beeeb324b8631d556788de3a5ddb diff --git a/controllers/gpt_enginner20240704063611 b/controllers/gpt_enginner20240704063611 new file mode 160000 index 0000000000000000000000000000000000000000..508689f0c93ff38b0717cf80a10863436dffd37c --- /dev/null +++ b/controllers/gpt_enginner20240704063611 @@ -0,0 +1 @@ +Subproject commit 508689f0c93ff38b0717cf80a10863436dffd37c diff --git a/controllers/gpt_enginner20240704063828 b/controllers/gpt_enginner20240704063828 new file mode 160000 index 0000000000000000000000000000000000000000..2f4f13ee35462792da2d32050c94ab4ea75d72e6 --- /dev/null +++ b/controllers/gpt_enginner20240704063828 @@ -0,0 +1 @@ +Subproject commit 2f4f13ee35462792da2d32050c94ab4ea75d72e6 diff --git a/myproject_new/manage.py b/myproject_new/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..f7b9b3fb26e4cc793c9ad61b86ff8e98fc620ae1 --- /dev/null +++ b/myproject_new/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject_new.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/myproject_new/myproject_new/__init__.py b/myproject_new/myproject_new/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/myproject_new/myproject_new/asgi.py b/myproject_new/myproject_new/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..e51c92d2a9b0dea165675abb09e219179ec1157b --- /dev/null +++ b/myproject_new/myproject_new/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for myproject_new project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject_new.settings') + +application = get_asgi_application() diff --git a/myproject_new/myproject_new/settings.py b/myproject_new/myproject_new/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..3de5a19ebc5694953f80d5b67a1436b817647f3a --- /dev/null +++ b/myproject_new/myproject_new/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for myproject_new project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-9%=-$%&oc)fw1)wlc^ja7d=&oxk7_2$chjh5ql3mqu06x(9j4n' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'myproject_new.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'myproject_new.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/myproject_new/myproject_new/urls.py b/myproject_new/myproject_new/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..43277b389ebb0001c5c4ff00d272ccd8083c5360 --- /dev/null +++ b/myproject_new/myproject_new/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for myproject_new project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/myproject_new/myproject_new/wsgi.py b/myproject_new/myproject_new/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..63b57d378a33ca5d2cb37e73c7f76067f8293825 --- /dev/null +++ b/myproject_new/myproject_new/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for myproject_new project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject_new.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/myapp/__init__.py b/workspace/myproject/workspace/myproject/myapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/myapp/admin.py b/workspace/myproject/workspace/myproject/myapp/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/myapp/apps.py b/workspace/myproject/workspace/myproject/myapp/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..c34fb20eb6a166110a0fb57a95512f57e55f38e7 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MyappConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'myapp' diff --git a/workspace/myproject/workspace/myproject/myapp/migrations/__init__.py b/workspace/myproject/workspace/myproject/myapp/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/myapp/models.py b/workspace/myproject/workspace/myproject/myapp/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/myapp/tests.py b/workspace/myproject/workspace/myproject/myapp/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/myapp/views.py b/workspace/myproject/workspace/myproject/myapp/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/myapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/manage.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..a5f886c16054f4457aa24079720631560d6cb6e9 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjangoapp.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..e6cb388248e77858e29eb68e8130b5df6f3ab4e7 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class MydjangoConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'mydjango' diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/migrations/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjango/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..9af75bc83e1c6d70ec9649df4da2f7e5d49c31af --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for mydjangoapp project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjangoapp.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..b6852055a09c89168b3b0fcb728047cce8eaad12 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for mydjangoapp project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-)5%d*^&c1t68t9gn!9zrrp5w%*jj+%74%c+r$6a#+(j!4ia@bu' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'mydjangoapp.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'mydjangoapp.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..906d7490da606104c1b48284394787a50292aa2c --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for mydjangoapp project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..34b17f77f98506186d68f76a4549c12fdb5a2044 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/mydjangoapp/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for mydjangoapp project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mydjangoapp.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/__init__.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..52c11491e0d1823849783afa755164aa3a52c1bc --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for gold_api project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_api.settings') + +application = get_asgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..835a720d5312c80a1adda2b9d45331381f0ca019 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for gold_api project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-k78^!vq%_&bzaa16ls(iy9q)_9zrcaqa@)i)odwee&h5&14*^9' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'gold_api.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'gold_api.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..b5e0a15189dafea85dd8b5bab49992855774293d --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for gold_api project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..684b8bb371491918148fc2149c9e35c1e70a5147 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/gold_api/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for gold_api project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_api.settings') + +application = get_wsgi_application() diff --git a/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/manage.py b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..948b0122af62c1e88d04ed69c90f822411f6f643 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/myproject/mydjangoapp/workspace/gold_api/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gold_api.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/__init__.py b/workspace/myproject/workspace/myproject/workspace/refasta/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/admin.py b/workspace/myproject/workspace/myproject/workspace/refasta/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/apps.py b/workspace/myproject/workspace/myproject/workspace/refasta/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..52fdfecaad3a794ee9618540964e18bc88c48f98 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RefastaConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'refasta' diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/migrations/__init__.py b/workspace/myproject/workspace/myproject/workspace/refasta/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/models.py b/workspace/myproject/workspace/myproject/workspace/refasta/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/tests.py b/workspace/myproject/workspace/myproject/workspace/refasta/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/workspace/myproject/workspace/myproject/workspace/refasta/views.py b/workspace/myproject/workspace/myproject/workspace/refasta/views.py new file mode 100644 index 0000000000000000000000000000000000000000..91ea44a218fbd2f408430959283f0419c921093e --- /dev/null +++ b/workspace/myproject/workspace/myproject/workspace/refasta/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/workspace/workspace/my_new_project/manage.py b/workspace/workspace/my_new_project/manage.py new file mode 100755 index 0000000000000000000000000000000000000000..8a8c69f592b47f8441500fd12f7c0f99b32a3bbd --- /dev/null +++ b/workspace/workspace/my_new_project/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'my_new_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/workspace/workspace/my_new_project/my_new_project/__init__.py b/workspace/workspace/my_new_project/my_new_project/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/workspace/workspace/my_new_project/my_new_project/asgi.py b/workspace/workspace/my_new_project/my_new_project/asgi.py new file mode 100644 index 0000000000000000000000000000000000000000..13cb6b7fcc1a1c7f57d2411ae4f3dcc75df09f60 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for my_new_project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'my_new_project.settings') + +application = get_asgi_application() diff --git a/workspace/workspace/my_new_project/my_new_project/settings.py b/workspace/workspace/my_new_project/my_new_project/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..0ec0b7d8289cee2b153ea97b7d3292b71221613a --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/settings.py @@ -0,0 +1,123 @@ +""" +Django settings for my_new_project project. + +Generated by 'django-admin startproject' using Django 5.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/5.0/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-(l#_01j9ap&0_n@^ne-+1+)99noef-xqaw)+kmi$eowm+zg=)k' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'my_new_project.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'my_new_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/5.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/5.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/5.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/workspace/workspace/my_new_project/my_new_project/urls.py b/workspace/workspace/my_new_project/my_new_project/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..077671021daca554ed0fc69aea66a8bc0e751fb3 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/urls.py @@ -0,0 +1,22 @@ +""" +URL configuration for my_new_project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/5.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path + +urlpatterns = [ + path('admin/', admin.site.urls), +] diff --git a/workspace/workspace/my_new_project/my_new_project/wsgi.py b/workspace/workspace/my_new_project/my_new_project/wsgi.py new file mode 100644 index 0000000000000000000000000000000000000000..4fff2e3dd65a3c04b490405105b474bc59eb3bb3 --- /dev/null +++ b/workspace/workspace/my_new_project/my_new_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for my_new_project project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'my_new_project.settings') + +application = get_wsgi_application()