Skip to content

Commit

Permalink
update to django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Aug 9, 2024
1 parent b66ebc9 commit 43c5c45
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 37 deletions.
Empty file.
31 changes: 0 additions & 31 deletions bmds_ui/desktop/sqlite3/base.py

This file was deleted.

6 changes: 5 additions & 1 deletion bmds_ui/main/settings/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@

DATABASES = {
"default": {
"ENGINE": "bmds_ui.desktop.sqlite3",
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.getenv("BMDS_DB", APP_HOME / "bmds-desktop.db"),
"OPTIONS": {
"transaction_mode": "IMMEDIATE",
"init_command": "PRAGMA foreign_keys=ON; PRAGMA legacy_alter_table = OFF; PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL; PRAGMA busy_timeout = 5000; PRAGMA temp_store = MEMORY; PRAGMA mmap_size = 134217728; PRAGMA journal_size_limit = 67108864; PRAGMA cache_size = 2000;",
},
}
}

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ dependencies = [
"pybmds==24.1a3",

# website
"Django~=5.0.7",
"django-anymail~=10.3",
"Django~=5.1.0",
"django-anymail~=11.1",
"django-redis~=5.4.0",
"django-webpack-loader~=3.1.0",
"djangorestframework~=3.15.1",
"djangorestframework~=3.15.2",
"uritemplate~=4.1.1",
"django-reversion~=5.0.12",
"PyYAML~=6.0.1",
Expand All @@ -50,9 +50,9 @@ dev = [
"flit~=3.9.0",

# debug
"django-debug-toolbar~=4.3.0",
"django-debug-toolbar~=4.4.6",
"django_extensions==3.2.3",
"django-browser-reload==1.12.1",
"django-browser-reload==1.13.0",

# tests
"pytest~=8.2.1",
Expand Down

0 comments on commit 43c5c45

Please sign in to comment.