wg-backend-django/acer-env/lib/python3.10/site-packages/django/db/models/constants.py

13 lines
209 B
Python
Raw Normal View History

2022-11-30 03:58:16 -05: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"