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

# 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)