mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 08:47:49 +08:00
50 lines
1.5 KiB
Python
50 lines
1.5 KiB
Python
from .base import Model as Model
|
|
|
|
from .aggregates import Aggregate as Aggregate, Sum as Sum, Variance as Variance, Count as Count, Max as Max
|
|
|
|
from .fields import (
|
|
AutoField as AutoField,
|
|
IntegerField as IntegerField,
|
|
PositiveIntegerField as PositiveIntegerField,
|
|
PositiveSmallIntegerField as PositiveSmallIntegerField,
|
|
SmallIntegerField as SmallIntegerField,
|
|
BigIntegerField as BigIntegerField,
|
|
CharField as CharField,
|
|
EmailField as EmailField,
|
|
Field as Field,
|
|
SlugField as SlugField,
|
|
TextField as TextField,
|
|
BooleanField as BooleanField,
|
|
NullBooleanField as NullBooleanField,
|
|
FileField as FileField,
|
|
DateField as DateField,
|
|
DateTimeField as DateTimeField,
|
|
IPAddressField as IPAddressField,
|
|
GenericIPAddressField as GenericIPAddressField,
|
|
)
|
|
|
|
from .fields.related import ForeignKey as ForeignKey, OneToOneField as OneToOneField, ManyToManyField as ManyToManyField
|
|
|
|
from .deletion import CASCADE as CASCADE, SET_DEFAULT as SET_DEFAULT, SET_NULL as SET_NULL, DO_NOTHING as DO_NOTHING
|
|
|
|
from .query import QuerySet as QuerySet, RawQuerySet as RawQuerySet
|
|
|
|
from .query_utils import Q as Q, FilteredRelation as FilteredRelation
|
|
|
|
from .lookups import Lookup as Lookup
|
|
|
|
from .expressions import (
|
|
F as F,
|
|
Expression as Expression,
|
|
Subquery as Subquery,
|
|
Exists as Exists,
|
|
OrderBy as OrderBy,
|
|
OuterRef as OuterRef,
|
|
Case as Case,
|
|
When as When,
|
|
RawSQL as RawSQL,
|
|
Value as Value,
|
|
)
|
|
|
|
from .manager import BaseManager as BaseManager, Manager as Manager
|