diff --git a/_deploy/SnowWhite/localsettings-SnowWhite.py b/_deploy/SnowWhite/localsettings-SnowWhite.py index 3f6ab6b32..17b510aa9 100644 --- a/_deploy/SnowWhite/localsettings-SnowWhite.py +++ b/_deploy/SnowWhite/localsettings-SnowWhite.py @@ -39,14 +39,11 @@ EMAIL_HOST_USER = "django-test@klebos.eu" # Philip Sargent really EMAIL_PORT = 587 EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = "EXPO SERVER AUTOMATIC " -# ----------------------------------------------------------------- -# THINK before you push this to a repo -# - have you checked that secret_credentials.py is in .gitignore ? -# - we don't want to have to change the expo system password ! -# ----------------------------------------------------------------- -# default values, real secrets will be imported from credentials.py in future -SQLITEFILE = "/home/philip/expo/troggle.sqlite" # can be ':memory:' +# default values, real secrets will be imported from credentials.py + +#SQLITEFILE = "/home/philip/expo/troggle.sqlite" # can be ':memory:' +SQLITEFILE = str(Path(__file__).parent.parent / "troggle.sqlite") # can be ':memory:' PHOTOSREMOTE = False # if True, then re-routes urls in expofiles/photos to remote server. Not implemented yet EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote server. Tests are then less accurate. diff --git a/deprecations.txt b/deprecations.txt index e69de29bb..452954e62 100644 --- a/deprecations.txt +++ b/deprecations.txt @@ -0,0 +1,38 @@ +Traceback (most recent call last): + File "/home/philip/expo/troggle/manage.py", line 34, in + execute_from_command_line(sys.argv) + ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line + utility.execute() + ~~~~~~~~~~~~~~~^^ + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 416, in execute + django.setup() + ~~~~~~~~~~~~^^ + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/__init__.py", line 24, in setup + apps.populate(settings.INSTALLED_APPS) + ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/apps/registry.py", line 91, in populate + app_config = AppConfig.create(entry) + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/apps/config.py", line 123, in create + mod = import_module(mod_path) + File "/home/philip/.local/share/uv/python/cpython-3.13.1-linux-x86_64-gnu/lib/python3.13/importlib/__init__.py", line 88, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "", line 1387, in _gcd_import + File "", line 1360, in _find_and_load + File "", line 1331, in _find_and_load_unlocked + File "", line 935, in _load_unlocked + File "", line 1026, in exec_module + File "", line 488, in _call_with_frames_removed + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/contrib/auth/apps.py", line 8, in + from .checks import check_middleware, check_models_permissions, check_user_model + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/contrib/auth/checks.py", line 9, in + from .management import _get_builtin_permissions + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/contrib/auth/management/__init__.py", line 10, in + from django.contrib.contenttypes.management import create_contenttypes + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/contrib/contenttypes/management/__init__.py", line 2, in + from django.db import DEFAULT_DB_ALIAS, IntegrityError, migrations, router, transaction + File "/home/philip/expo/troggle/.venv/lib/python3.13/site-packages/django/db/migrations/__init__.py", line 1, in + from .migration import Migration, swappable_dependency # NOQA + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +ModuleNotFoundError: No module named 'django.db.migrations.migration'