server/python/django2/renkanmanager/settings.py
author ymh <ymh.work@gmail.com>
Wed, 29 Jun 2016 23:11:56 +0200
changeset 626 112912309726
parent 615 f3875fbe206a
child 665 69d13e7dd286
permissions -rw-r--r--
ensure that we change the ids of elements when copying/creating a new renkan

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