server/python/django2/renkanmanager/settings.py
author ymh <ymh.work@gmail.com>
Tue, 21 Jun 2016 17:53:06 +0200
changeset 618 3051b847c124
parent 615 f3875fbe206a
child 665 69d13e7dd286
permissions -rw-r--r--
validation_timestamp and create_new_revision are not part of the data. move them to query parameters

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