diff --git a/driverplan/driverplan/__init__.py b/DrivePlanSite/DrivePlanSite/__init__.py similarity index 100% rename from driverplan/driverplan/__init__.py rename to DrivePlanSite/DrivePlanSite/__init__.py diff --git a/driverplan/driverplan/__pycache__/__init__.cpython-312.pyc b/DrivePlanSite/DrivePlanSite/__pycache__/__init__.cpython-312.pyc similarity index 100% rename from driverplan/driverplan/__pycache__/__init__.cpython-312.pyc rename to DrivePlanSite/DrivePlanSite/__pycache__/__init__.cpython-312.pyc diff --git a/driverplan/driverplan/__pycache__/settings.cpython-312.pyc b/DrivePlanSite/DrivePlanSite/__pycache__/settings.cpython-312.pyc similarity index 73% rename from driverplan/driverplan/__pycache__/settings.cpython-312.pyc rename to DrivePlanSite/DrivePlanSite/__pycache__/settings.cpython-312.pyc index 6f20998..69a0946 100644 Binary files a/driverplan/driverplan/__pycache__/settings.cpython-312.pyc and b/DrivePlanSite/DrivePlanSite/__pycache__/settings.cpython-312.pyc differ diff --git a/driverplan/driverplan/__pycache__/urls.cpython-312.pyc b/DrivePlanSite/DrivePlanSite/__pycache__/urls.cpython-312.pyc similarity index 100% rename from driverplan/driverplan/__pycache__/urls.cpython-312.pyc rename to DrivePlanSite/DrivePlanSite/__pycache__/urls.cpython-312.pyc diff --git a/DrivePlanSite/DrivePlanSite/__pycache__/wsgi.cpython-312.pyc b/DrivePlanSite/DrivePlanSite/__pycache__/wsgi.cpython-312.pyc new file mode 100644 index 0000000..24159de Binary files /dev/null and b/DrivePlanSite/DrivePlanSite/__pycache__/wsgi.cpython-312.pyc differ diff --git a/driverplan/driverplan/asgi.py b/DrivePlanSite/DrivePlanSite/asgi.py similarity index 81% rename from driverplan/driverplan/asgi.py rename to DrivePlanSite/DrivePlanSite/asgi.py index 9217f7c..9169cd8 100644 --- a/driverplan/driverplan/asgi.py +++ b/DrivePlanSite/DrivePlanSite/asgi.py @@ -11,6 +11,6 @@ from django.core.asgi import get_asgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'driverplan.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DrivePlanSite.settings') application = get_asgi_application() diff --git a/driverplan/driverplan/settings.py b/DrivePlanSite/DrivePlanSite/settings.py similarity index 97% rename from driverplan/driverplan/settings.py rename to DrivePlanSite/DrivePlanSite/settings.py index f9fada1..954a0c6 100644 --- a/driverplan/driverplan/settings.py +++ b/DrivePlanSite/DrivePlanSite/settings.py @@ -50,7 +50,7 @@ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'driverplan.urls' +ROOT_URLCONF = 'DrivePlanSite.urls' TEMPLATES = [ { @@ -68,7 +68,7 @@ }, ] -WSGI_APPLICATION = 'driverplan.wsgi.application' +WSGI_APPLICATION = 'DrivePlanSite.wsgi.application' # Database diff --git a/driverplan/driverplan/urls.py b/DrivePlanSite/DrivePlanSite/urls.py similarity index 100% rename from driverplan/driverplan/urls.py rename to DrivePlanSite/DrivePlanSite/urls.py diff --git a/driverplan/driverplan/wsgi.py b/DrivePlanSite/DrivePlanSite/wsgi.py similarity index 81% rename from driverplan/driverplan/wsgi.py rename to DrivePlanSite/DrivePlanSite/wsgi.py index a0e1558..40e0bcf 100644 --- a/driverplan/driverplan/wsgi.py +++ b/DrivePlanSite/DrivePlanSite/wsgi.py @@ -11,6 +11,6 @@ from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'driverplan.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DrivePlanSite.settings') application = get_wsgi_application() diff --git a/driverplan/db.sqlite3 b/DrivePlanSite/db.sqlite3 similarity index 100% rename from driverplan/db.sqlite3 rename to DrivePlanSite/db.sqlite3 diff --git a/DrivePlanSite/manage.py b/DrivePlanSite/manage.py new file mode 100644 index 0000000..be8487e --- /dev/null +++ b/DrivePlanSite/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', 'DrivePlanSite.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/driverplan/maps/__init__.py b/DrivePlanSite/maps/__init__.py similarity index 100% rename from driverplan/maps/__init__.py rename to DrivePlanSite/maps/__init__.py diff --git a/driverplan/maps/__pycache__/__init__.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/__init__.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/__init__.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/__init__.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/admin.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/admin.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/admin.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/admin.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/apps.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/apps.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/apps.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/apps.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/forms.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/forms.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/forms.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/forms.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/models.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/models.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/models.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/models.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/urls.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/urls.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/urls.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/urls.cpython-312.pyc diff --git a/driverplan/maps/__pycache__/views.cpython-312.pyc b/DrivePlanSite/maps/__pycache__/views.cpython-312.pyc similarity index 100% rename from driverplan/maps/__pycache__/views.cpython-312.pyc rename to DrivePlanSite/maps/__pycache__/views.cpython-312.pyc diff --git a/driverplan/maps/admin.py b/DrivePlanSite/maps/admin.py similarity index 100% rename from driverplan/maps/admin.py rename to DrivePlanSite/maps/admin.py diff --git a/driverplan/maps/apps.py b/DrivePlanSite/maps/apps.py similarity index 100% rename from driverplan/maps/apps.py rename to DrivePlanSite/maps/apps.py diff --git a/driverplan/maps/forms.py b/DrivePlanSite/maps/forms.py similarity index 100% rename from driverplan/maps/forms.py rename to DrivePlanSite/maps/forms.py diff --git a/driverplan/maps/migrations/__init__.py b/DrivePlanSite/maps/migrations/__init__.py similarity index 100% rename from driverplan/maps/migrations/__init__.py rename to DrivePlanSite/maps/migrations/__init__.py diff --git a/driverplan/maps/migrations/__pycache__/__init__.cpython-312.pyc b/DrivePlanSite/maps/migrations/__pycache__/__init__.cpython-312.pyc similarity index 100% rename from driverplan/maps/migrations/__pycache__/__init__.cpython-312.pyc rename to DrivePlanSite/maps/migrations/__pycache__/__init__.cpython-312.pyc diff --git a/driverplan/maps/models.py b/DrivePlanSite/maps/models.py similarity index 100% rename from driverplan/maps/models.py rename to DrivePlanSite/maps/models.py diff --git a/driverplan/maps/templates/maps/index.html b/DrivePlanSite/maps/templates/maps/index.html similarity index 100% rename from driverplan/maps/templates/maps/index.html rename to DrivePlanSite/maps/templates/maps/index.html diff --git a/driverplan/maps/tests.py b/DrivePlanSite/maps/tests.py similarity index 100% rename from driverplan/maps/tests.py rename to DrivePlanSite/maps/tests.py diff --git a/driverplan/maps/urls.py b/DrivePlanSite/maps/urls.py similarity index 100% rename from driverplan/maps/urls.py rename to DrivePlanSite/maps/urls.py diff --git a/driverplan/maps/views.py b/DrivePlanSite/maps/views.py similarity index 100% rename from driverplan/maps/views.py rename to DrivePlanSite/maps/views.py diff --git a/DrivePlanSite/requirements.txt b/DrivePlanSite/requirements.txt new file mode 100644 index 0000000..2c182d1 --- /dev/null +++ b/DrivePlanSite/requirements.txt @@ -0,0 +1,13 @@ +anyio==4.4.0 +asgiref==3.8.1 +certifi==2024.2.2 +charset-normalizer==3.3.2 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +idna==3.7 +pyTelegramBotAPI==4.18.1 +requests==2.32.3 +sniffio==1.3.1 +sqlparse==0.5.0 +urllib3==2.2.1 diff --git a/driverplan/driverplan/__pycache__/wsgi.cpython-312.pyc b/driverplan/driverplan/__pycache__/wsgi.cpython-312.pyc deleted file mode 100644 index 76f8e99..0000000 Binary files a/driverplan/driverplan/__pycache__/wsgi.cpython-312.pyc and /dev/null differ