Skip to content

Commit

Permalink
Merge pull request #197 from rapidpro/update-django-5.1
Browse files Browse the repository at this point in the history
Update django 5.1
  • Loading branch information
norkans7 authored Aug 22, 2024
2 parents 8913c67 + d1c17e3 commit 3566991
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
python-version: ["3.10.x", "3.11.x", "3.12.x"]
django-version: ["4.2.x", "5.0.x"]
django-version: ["5.0.x", "5.1.x"]
env:
redis-version: "6.2"
pg-version: "15"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Django 4.1.7 on 2023-03-29 14:58

from django.db import migrations
from django.db import migrations, models


class Migration(migrations.Migration):
Expand All @@ -10,12 +10,14 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AlterIndexTogether(
name="dashblock",
index_together={("org", "is_active", "dashblock_type", "priority")},
migrations.AddIndex(
model_name="dashblock",
index=models.Index(
fields=["org", "is_active", "dashblock_type", "priority"], name="dashblocks__org_id_024805_idx"
),
),
migrations.AlterIndexTogether(
name="dashblocktype",
index_together={("slug", "name")},
migrations.AddIndex(
model_name="dashblocktype",
index=models.Index(fields=["slug", "name"], name="dashblocks__slug_c0c6c6_idx"),
),
]
8 changes: 4 additions & 4 deletions dash/orgs/migrations/0031_alter_orgbackend_index_together.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Django 4.1.7 on 2023-03-29 13:57

from django.db import migrations
from django.db import migrations, models


class Migration(migrations.Migration):
Expand All @@ -9,8 +9,8 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AlterIndexTogether(
name="orgbackend",
index_together={("org", "is_active", "slug")},
migrations.AddIndex(
model_name="orgbackend",
index=models.Index(fields=["org", "is_active", "slug"], name="orgs_orgbac_org_id_607508_idx"),
),
]
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repository = "http://github.com/rapidpro/dash"

[tool.poetry.dependencies]
python = "^3.10"
Django = ">= 4.2.14, < 5.1"
Django = ">= 5.0.8, < 5.2"
celery = "^5.1"
django-compressor = "^4.0"
django-redis = "^5.2.0"
Expand Down

0 comments on commit 3566991

Please sign in to comment.