mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 18:05:58 +08:00
14 lines
441 B
Python
14 lines
441 B
Python
from typing import Any, Callable
|
|
|
|
from django.db import IntegrityError
|
|
|
|
def CASCADE(collector, field, sub_objs, using): ...
|
|
def SET_NULL(collector, field, sub_objs, using): ...
|
|
def SET_DEFAULT(collector, field, sub_objs, using): ...
|
|
def DO_NOTHING(collector, field, sub_objs, using): ...
|
|
def PROTECT(collector, field, sub_objs, using): ...
|
|
def SET(value: Any) -> Callable: ...
|
|
|
|
class ProtectedError(IntegrityError): ...
|
|
class Collector: ...
|