Files
sirh/venv/lib/python3.12/site-packages/django/db/models/constants.py

14 lines
210 B
Python
Raw Normal View History

2026-04-29 11:52:03 +02:00
"""
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"