server/python/django2/renkanmanager/settings.py
author ymh <ymh.work@gmail.com>
Sun, 14 Jul 2024 21:59:51 +0200
changeset 665 69d13e7dd286
parent 615 f3875fbe206a
permissions -rw-r--r--
add file encoding

# -*- coding: utf-8 -*-
# Settings for the renkanmanager project
from django.conf import settings as django_settings
from django.contrib.auth import get_user_model

RENKAN_USER_DISPLAY_FIELD = getattr(django_settings, "RENKAN_USER_DISPLAY_FIELD", get_user_model().USERNAME_FIELD)
RENKAN_AUTO_CURRENT_REVISION = getattr(django_settings, "RENKAN_AUTO_CURRENT_REVISION", True)