wg-backend-django/dell-env/lib/python3.11/site-packages/django/db/models/constants.py
2023-10-30 14:40:43 +07:00

13 lines
209 B
Python

"""
Constants used across the ORM in general.
"""
from enum import Enum
# Separator used to split filter strings apart.
LOOKUP_SEP = "__"
class OnConflict(Enum):
IGNORE = "ignore"
UPDATE = "update"