Source code for django.contrib.postgres.functionsfrom django.db.models import DateTimeField, Func, UUIDField [문서]class RandomUUID(Func): template = 'GEN_RANDOM_UUID()' output_field = UUIDField() [문서]class TransactionNow(Func): template = 'CURRENT_TIMESTAMP' output_field = DateTimeField()