Skip to content

Commit 17401ca

Browse files
authored
5.0: Update django.contrib.gis.db.backends.sqatialite.schema (#2123)
1 parent 2d8b5d2 commit 17401ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: django-stubs/contrib/gis/db/backends/spatialite/schema.pyi

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ class SpatialiteSchemaEditor(DatabaseSchemaEditor):
2121
def add_field(self, model: Any, field: Any) -> None: ...
2222
def remove_field(self, model: Any, field: Any) -> None: ...
2323
def alter_db_table(
24-
self, model: Any, old_db_table: Any, new_db_table: Any, disable_constraints: bool = ...
24+
self,
25+
model: Any,
26+
old_db_table: Any,
27+
new_db_table: Any,
2528
) -> None: ...

Diff for: scripts/stubtest/allowlist_todo_django50.txt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
django.contrib.contenttypes.fields.GenericForeignKey.get_content_type
66
django.contrib.contenttypes.fields.GenericForeignKey.get_prefetch_querysets
77
django.contrib.contenttypes.prefetch
8-
django.contrib.gis.db.backends.spatialite.schema.SpatialiteSchemaEditor.alter_db_table
98
django.contrib.gis.db.models.Case.allowed_default
109
django.contrib.gis.db.models.ExpressionWrapper.allowed_default
1110
django.contrib.gis.db.models.F.allowed_default

0 commit comments

Comments
 (0)