server/python/django2/renkanmanager/settings.py
author ymh <ymh.work@gmail.com>
Tue, 26 Jul 2016 18:24:17 +0200
changeset 631 26480a3604b4
parent 615 f3875fbe206a
child 665 69d13e7dd286
permissions -rw-r--r--
add a way to search for a node id in the serach tool

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