Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions django-stubs/contrib/admin/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ from .sites import site as site
def autodiscover() -> None: ...

__all__ = [
"action",
"display",
"register",
"ModelAdmin",
"HORIZONTAL",
"VERTICAL",
"StackedInline",
"TabularInline",
"AdminSite",
"site",
"ListFilter",
"SimpleListFilter",
"FieldListFilter",
"AllValuesFieldListFilter",
"BooleanFieldListFilter",
"RelatedFieldListFilter",
"ChoicesFieldListFilter",
"DateFieldListFilter",
"AllValuesFieldListFilter",
"EmptyFieldListFilter",
"FieldListFilter",
"ListFilter",
"ModelAdmin",
"RelatedFieldListFilter",
"RelatedOnlyFieldListFilter",
"ShowFacets",
"SimpleListFilter",
"StackedInline",
"TabularInline",
"action",
"autodiscover",
"display",
"register",
"site",
]
2 changes: 1 addition & 1 deletion django-stubs/contrib/gis/admin/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ __all__ = [
"HORIZONTAL",
"VERTICAL",
"AdminSite",
"GISModelAdmin",
"ModelAdmin",
"StackedInline",
"TabularInline",
Expand All @@ -23,5 +24,4 @@ __all__ = [
"display",
"register",
"site",
"GISModelAdmin",
]
150 changes: 75 additions & 75 deletions django-stubs/contrib/gis/db/models/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,119 +15,119 @@ from django.contrib.gis.db.models.fields import RasterField as RasterField
from django.db.models import *

__all__ = [
"BLANK_CHOICE_DASH",
"CASCADE",
"DEFERRED",
"DO_NOTHING",
"NOT_PROVIDED",
"PROTECT",
"RESTRICT",
"SET",
"SET_DEFAULT",
"SET_NULL",
"Aggregate",
"AutoField",
"Avg",
"Count",
"Max",
"Min",
"StdDev",
"Sum",
"Variance",
"BaseConstraint",
"CheckConstraint",
"Deferrable",
"UniqueConstraint",
"Choices",
"IntegerChoices",
"TextChoices",
"AutoField",
"BLANK_CHOICE_DASH",
"BigAutoField",
"BigIntegerField",
"BinaryField",
"BooleanField",
"Case",
"CharField",
"CheckConstraint",
"Choices",
"Collect",
"CommaSeparatedIntegerField",
"CompositePrimaryKey",
"Count",
"DateField",
"DateTimeField",
"DecimalField",
"Deferrable",
"DurationField",
"EmailField",
"Empty",
"Exists",
"Expression",
"ExpressionList",
"ExpressionWrapper",
"Extent",
"Extent3D",
"F",
"Field",
"FileField",
"FilePathField",
"FilteredRelation",
"FloatField",
"ForeignKey",
"ForeignObject",
"ForeignObjectRel",
"Func",
"GeneratedField",
"GenericIPAddressField",
"GeometryCollectionField",
"GeometryField",
"IPAddressField",
"ImageField",
"Index",
"IntegerChoices",
"IntegerField",
"NOT_PROVIDED",
"JSONField",
"LineStringField",
"Lookup",
"MakeLine",
"Manager",
"ManyToManyField",
"ManyToManyRel",
"ManyToOneRel",
"Max",
"Min",
"Model",
"MultiLineStringField",
"MultiPointField",
"MultiPolygonField",
"NullBooleanField",
"ObjectDoesNotExist",
"OneToOneField",
"OneToOneRel",
"OrderBy",
"OrderWrt",
"OuterRef",
"PointField",
"PolygonField",
"PositiveBigIntegerField",
"PositiveIntegerField",
"PositiveSmallIntegerField",
"Prefetch",
"ProtectedError",
"Q",
"QuerySet",
"RasterField",
"RestrictedError",
"RowRange",
"SlugField",
"SmallAutoField",
"SmallIntegerField",
"StdDev",
"Subquery",
"Sum",
"TextChoices",
"TextField",
"TimeField",
"Transform",
"URLField",
"UUIDField",
"Index",
"ObjectDoesNotExist",
"signals",
"CASCADE",
"DO_NOTHING",
"PROTECT",
"RESTRICT",
"SET",
"SET_DEFAULT",
"SET_NULL",
"ProtectedError",
"RestrictedError",
"Case",
"CompositePrimaryKey",
"Exists",
"Expression",
"ExpressionList",
"ExpressionWrapper",
"F",
"Func",
"OrderBy",
"OuterRef",
"RowRange",
"Subquery",
"Union",
"UniqueConstraint",
"Value",
"ValueRange",
"Variance",
"When",
"Window",
"WindowFrame",
"WindowFrameExclusion",
"FileField",
"ImageField",
"GeneratedField",
"JSONField",
"OrderWrt",
"Lookup",
"Transform",
"Manager",
"Prefetch",
"Q",
"QuerySet",
"aprefetch_related_objects",
"prefetch_related_objects",
"DEFERRED",
"Model",
"FilteredRelation",
"ForeignKey",
"ForeignObject",
"OneToOneField",
"ManyToManyField",
"ForeignObjectRel",
"ManyToOneRel",
"ManyToManyRel",
"OneToOneRel",
"Collect",
"Extent",
"Extent3D",
"MakeLine",
"Union",
"GeometryCollectionField",
"GeometryField",
"LineStringField",
"MultiLineStringField",
"MultiPointField",
"MultiPolygonField",
"PointField",
"PolygonField",
"RasterField",
"signals",
]
12 changes: 6 additions & 6 deletions django-stubs/contrib/gis/gdal/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ from django.contrib.gis.gdal.srs import CoordTransform as CoordTransform
from django.contrib.gis.gdal.srs import SpatialReference as SpatialReference

__all__ = (
"GDAL_VERSION",
"AxisOrder",
"Driver",
"DataSource",
"CoordTransform",
"DataSource",
"Driver",
"Envelope",
"GDALException",
"GDALRaster",
"GDAL_VERSION",
"OGRGeometry",
"OGRGeomType",
"SpatialReference",
"OGRGeometry",
"SRSException",
"SpatialReference",
"check_err",
"gdal_version",
"gdal_full_version",
"gdal_version",
)
2 changes: 1 addition & 1 deletion django-stubs/contrib/gis/geos/io.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ class WKBReader(_WKBReader):
class WKTReader(_WKTReader):
def read(self, wkt: bytes | str) -> GEOSGeometry: ...

__all__ = ["WKBWriter", "WKTWriter", "WKBReader", "WKTReader"]
__all__ = ["WKBReader", "WKBWriter", "WKTReader", "WKTWriter"]
2 changes: 1 addition & 1 deletion django-stubs/contrib/gis/geos/prototypes/misc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ geos_distance: Any
geos_length: Any
geos_isvalidreason: Any

__all__ = ["geos_area", "geos_distance", "geos_length", "geos_isvalidreason"]
__all__ = ["geos_area", "geos_distance", "geos_isvalidreason", "geos_length"]
2 changes: 1 addition & 1 deletion django-stubs/contrib/gis/utils/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ from django.contrib.gis.utils.ogrinspect import mapping as mapping
from django.contrib.gis.utils.ogrinspect import ogrinspect as ogrinspect
from django.contrib.gis.utils.srs import add_srs_entry as add_srs_entry

__all__ = ["add_srs_entry", "mapping", "ogrinfo", "ogrinspect", "LayerMapError", "LayerMapping"]
__all__ = ["LayerMapError", "LayerMapping", "add_srs_entry", "mapping", "ogrinfo", "ogrinspect"]
10 changes: 5 additions & 5 deletions django-stubs/contrib/messages/api.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ def error(
) -> None: ...

__all__ = (
"MessageFailure",
"add_message",
"get_messages",
"get_level",
"set_level",
"debug",
"error",
"get_level",
"get_messages",
"info",
"set_level",
"success",
"warning",
"error",
"MessageFailure",
)
4 changes: 2 additions & 2 deletions django-stubs/contrib/postgres/aggregates/statistics.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ class RegrSXY(StatAggregate): ...
class RegrSYY(StatAggregate): ...

__all__ = [
"CovarPop",
"Corr",
"CovarPop",
"RegrAvgX",
"RegrAvgY",
"RegrCount",
"RegrIntercept",
"RegrR2",
"RegrSlope",
"RegrSXX",
"RegrSXY",
"RegrSYY",
"RegrSlope",
"StatAggregate",
]
8 changes: 4 additions & 4 deletions django-stubs/contrib/postgres/fields/ranges.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ class UpperInfinite(models.Transform):
output_field: ClassVar[models.BooleanField]

__all__ = [
"RangeField",
"IntegerRangeField",
"BigIntegerRangeField",
"DecimalRangeField",
"DateTimeRangeField",
"DateRangeField",
"DateTimeRangeField",
"DecimalRangeField",
"IntegerRangeField",
"RangeBoundary",
"RangeField",
"RangeOperators",
]
6 changes: 3 additions & 3 deletions django-stubs/contrib/postgres/forms/ranges.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class DateRangeField(BaseRangeField):

__all__ = [
"BaseRangeField",
"IntegerRangeField",
"DecimalRangeField",
"DateTimeRangeField",
"DateRangeField",
"DateTimeRangeField",
"DecimalRangeField",
"HiddenRangeWidget",
"IntegerRangeField",
"RangeWidget",
]
2 changes: 1 addition & 1 deletion django-stubs/contrib/postgres/indexes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ class OpClass(Func):
name: str,
) -> None: ...

__all__ = ["BloomIndex", "BrinIndex", "BTreeIndex", "GinIndex", "GistIndex", "HashIndex", "SpGistIndex"]
__all__ = ["BTreeIndex", "BloomIndex", "BrinIndex", "GinIndex", "GistIndex", "HashIndex", "SpGistIndex"]
8 changes: 4 additions & 4 deletions django-stubs/core/cache/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ caches: CacheHandler
cache: BaseCache

__all__ = [
"cache",
"caches",
"DEFAULT_CACHE_ALIAS",
"InvalidCacheBackendError",
"CacheKeyWarning",
"BaseCache",
"CacheKeyWarning",
"InvalidCacheBackendError",
"InvalidCacheKey",
"cache",
"caches",
]
Loading
Loading