Skip to content

Commit

Permalink
Bump Django to 4.2
Browse files Browse the repository at this point in the history
This is required for the latest version of `django-allauth`.
  • Loading branch information
mvandenburgh committed Dec 9, 2024
1 parent b31a6c6 commit f2ff924
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 4.2.17 on 2024-12-09 19:32
from __future__ import annotations

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
('api', '0012_remove_asset_previous'),
]

operations = [
migrations.RemoveConstraint(
model_name='assetpath',
name='consistent-slash',
),
migrations.AddConstraint(
model_name='assetpath',
constraint=models.CheckConstraint(
check=models.Q(
('path__endswith', '/'),
('path__startswith', '/'),
_connector='OR',
_negated=True,
),
name='consistent-slash',
),
),
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'dandi',
# Pin dandischema to exact version to make explicit which schema version is being used
'dandischema==0.10.2', # schema version 0.6.8
'django~=4.1.0',
'django~=4.2.0',
'django-admin-display',
# Pin to 0.61.1 to test user signup
'django-allauth==0.61.1',
Expand Down

0 comments on commit f2ff924

Please sign in to comment.